I run a GlassFish server on a Win2k3 machine. If I do a remote desktop login to the console ("mstsc /console") and I log out, the application exits (the server does not shut down, the JVM is simply killed). The wrapper still runs however.

I tried adding the "-Xrs" flag to my "domain.xml" file as described here to no success.

Any suggestions?


This helped me solve a very similar problem. It is probably exactly what you want: http://wiki.glassfish.java.net/Wiki.jsp?page=FaqRunAsWindowsService

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.