-
1. Re: Unexpected shutdown
peterj Aug 18, 2007 12:27 PM (in response to simonjpalmer)Are your running JBoss AS via Remote Desktop, VNC, or some other such remoting software? If so, is is possibly closing the session? Such a closure would propagate itself to all applications started.
You could also try running JBoss AS as a service, that would avoid this type of issue.
I did a search on "Notified to shutdown" and found the following discussion: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98571 -
2. Re: Unexpected shutdown
simonjpalmer Aug 18, 2007 1:31 PM (in response to simonjpalmer)thanks for the response. It looks like it may have something to do with the way I connect to the server. I have two remote servers that I connect to using remote desktop. On one I have JBoss running as a service and so far that one has not terminated in the way described.
On the other one I run JBoss from a the run.bat script which means it is in a command window. This one receives the unexpected shutdown request.
It may have something to do with the remote desktop session, but it is not as straightforward as simply disconnecting and dropping the service. I can show that not to be the case, so there is something more subtle going on.
I think the solution is to run it as a service, but it is a bit strange and I hate to leave something like this dangling. I may try that -Xrs switch...