I got a Glassfish 4.1.1 copy with two domains on Win2012R2 (no clusters, no instances). I've set a windows service for each of those.

Both services run regularly up until the moment when I restart either or both of them thru their admin web console (*server (Admin Server) -> Restart*). The following happens:

* The domain-related service stops, but does not start again,
* The allegedly stopped domain is perfectly functional (deployed apps and admin console are there) (!!!),
* When I try to start the win service manually, I get `Error 1067` (GF reports "something" is already listening on required ports and that's the domain itself that is now, somehow, **NOT** run as a service!),
* I can start the service again only after I've stopped the domain thru *server (Admin Server) -> Stop*.

Why did I mention two domains? **Because this does not happen when I have just one domain with its' service.**

Domains do not share ports, only things in common are the JDK/JRE and general GF files.

Is this a bug in Glassfish or did I set something wrong?