The description for using GlassFish as a service
(http://wiki.glassfish.java.net/Wiki.jsp?page=FaqRunAsWindowsService) says that
it is up to the administrator to correctly the set -Xrs flag in the GlassFish
Actually this is weird, because EVERYBODY that wants to use appservService.exe
MUST use -Xrs. Or see it the other way: It makes absolutely no sense that
appservService.exe is NOT taking care of using -Xrs, because appservService.exe
is a service, and a service must not shutdown at user logoff (what will only
work when using -Xrs).
So virtually anybody using appservService.exe will consider it as a bug that
appservService.exe is not using -Xrs on its own, but relies on the admin setting
that flag correctly.