Sun application server crashes / Glassfish server crashes
Ok this is quite obscure so I’m sure that it will help someone.
We had a couple of Sun Application servers that we would start by logging into terminal services and starting the server manually (it was just the way they were set up).
Upon logging off of terminal services, the glassfish server would crash (obviously if you just close the terminal server session you are still running it and that was fine).
Uninstall the glassfish/sunapp server and reinstall, make sure you check the box that says “Run as windows service.” and then the system won’t have a problem, however DO NOT use the start menu to stop and start the app server, use the administrative tools/services programme.