On Thu, 6 Dec 2001 21:57, Leif Mortenson wrote: > I am working on getting Phoenix running inside of a container which > allows me to run Phoenix as an NT Service.
kool. > I have gotten it all working correctly except for one thing. > > When my application shuts down the JVM, this causing the ShutdownHook in > Phoenix to be triggered. Looking at the source in > org.apache.avalon.phoenix.frontends.CLIMain, it looks like this is > triggering the forceShutdown() method which is in turn shutting Phoenix > down cleanly. yep. > But... > > Phoenix is printing out the following message: > > JVM exiting abnormally. Shutting down Phoenix. > > I was wondering what the "normal" way to shut down the JVM is in > Phoenix. I could not locate any other shutdown functionality. Well the "normal" way is to call Embeddor.shutdown(). Unfortunately at this stage there is no real mechanism to do this from outside the JVM. I actually have a local version that allows you to send a command of tcp to shutdown server but have yet to clean up the code, secure it and check it in. Eventually you will be able to shutdown the server via JMX but this is something I am working on now - so it may take a while ;) -- Cheers, Pete ------------------------------------------------------ "If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed." -Albert Einstein ------------------------------------------------------ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>