Re: Glassfish won't stop
are you able to take Glassfish threads dump (using jstack), when you see
On 06/21/2012 06:45 PM, Márcio Geovani Jasinski wrote:
> I found this thread (http://www.java.net/node/704007) searching for
> possible causes of Glassfish hang during stop operation.
> Does anyone knows what could cause such issue? And most important, how
> avoid situations like that?
> I got a case where Glassfish didn´t stop after 12 minutes since stop
> command was detected on server.log
> - This instance uses Glassfish Version 2.1.1 running on a Windows
> 2003 Server within JDK 18.104.22.168
> - The domain is a cluster although it´s a standalone server.
> - For JMS services we have a OpenMQ 4.5 running in remote mode
> - Start/Stop commands are performed through Windows Services Tool
> since Glassfish is installed as a service.
> I attached server.log files in case someone would like to take a look.
> On this file is possibile to see:
> *a) Glassfish detected a shutdown request*
> TCP Connection(2344)-127.0.0.1;Sun GlassFish Enterprise Server
> v2.1.1;|WEB0303: Stopping Sun GlassFish Enterprise Server v2.1.1|#]
> *b) Few minutes later it was still trying to connect to remote JMS
> Error occurred on connection creation [localhost:6677]. - cause:
> java.net.ConnectException: Connection refused: connect|#]
> *c) System is rebooted and just after this Glassfish initialize:*
> Jun 13, 2012 8:53:17 AM
> com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
> Any insight would be very appreciated. Thanks.
> Márcio Geovani Jasinski
> Indaial, Santa Catarina
> Fone: +55 47 9653 4899