[JBoss-user] [Installation & Configuration] - Re: Server shutdown on errored startup

2004-08-12 Thread jamiew
When calling shutdown via JMX I get the error java.lang.IllegalStateException: not started. Is there a fatal exception I can call which will cause the JBoss startup to fail? Any other ideas? Jamie -- 06:31:12,765 ERROR [STDERR] R

[JBoss-user] [Installation & Configuration] - Server shutdown on errored startup

2004-08-11 Thread jamiew
I have startup code in an MBean that attempts to connect to a MySQL database. If that connection to the database fails I would like to terminate the JBoss server. There is no point in running our app if the database is not available. I have tried calling System.exit(0) from my MBean. This cau