Re: Safe shutdown

2007-05-30 Thread Joel Spotts
Subject Re: Safe shutdown Please respond to [EMAIL PROTECTED] che.org

Re: Safe shutdown

2007-05-30 Thread David Jencks
David Jencks [EMAIL PROTECTED] David Jencks [EMAIL PROTECTED] 05/29/2007 07:18 PM Please respond to user@geronimo.apache.org ecblank.gif To ecblank.gif user@geronimo.apache.org ecblank.gif cc ecblank.gif ecblank.gif Subject ecblank.gif Re: Safe shutdown ecblank.gif ecblank.gif On May 29

Re: Safe shutdown

2007-05-30 Thread Kevan Miller
On May 30, 2007, at 8:03 AM, Joel Spotts wrote: I should probably go into more detail the issue we are having: We are wrapping Geronimo in a windows service using JavaService (http://forge.objectweb.org/projects/javaservice/). It is similar to Java Service Wrapper. You can specify the

Safe shutdown

2007-05-29 Thread Joel Spotts
Is there any danger in stopping geronimo by simply killing the application as opposed to running the shutdown.jar or shutdown.bat? For various reasons (which I can get into if the answer is that it is not safe) I cannot easily stop the server with the shutdown tool. Thanks, Yoel Spotts

RE: Safe shutdown

2007-05-29 Thread Mark Aufdencamp
I would guess this probably depends on your application, but it doesnt sound like a good idea. I would think that an EJB container would need to be able to safely complete transactions and passivate/deallocate it's Beans particular CMP Entity Beans. The Web container might also maintain

Re: Safe shutdown

2007-05-29 Thread David Jencks
Entity Beans. The Web container might also maintain Application scoped information that needs a clean safe shutdown as well. However, both the shutdown jar or console command and hitting ctrl-c on your console have approximately the same effect in code -- calling the shutdown hook