There is no real comprehensive state of the server as its a collection of loosely coupled components. The state in question causing the exception should be exposed through the ServerImplMBean but is not currently. I have added support for this.

--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Michael Klem wrote:

Under certain conditions I want to shutdown the server while it is starting up. I noticed that the shutdown command will throw an illegal state exception if the server has not finished starting up. I check for an exception and then invoke the halt command.

I was wondering if there is a way to find out if the server is started or not? There is a started instance variable but is not exposed via jmx.

Would this be useful to expose?



------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to