users@glassfish.java.net

GlassFish 2.1.1 server hangs up due to unknown broker shutdown request from

From: <forums_at_java.net>
Date: Tue, 12 Apr 2011 00:40:17 -0500 (CDT)

 

Hi

I got a problem in glassfish 2.1.1 .

I caught this warning in one of our servers that runs glassfish 2.1.1:
This happens while in the running mode. I did not try to shutdown or restart
. I have a payment gateway running in this server and
When the broker is down, GF does not try to bring it up. So it is down
forever and my app hangs on it.

I've been hacking the server for a week day there is not much information
about this problem.

thanking you in advance

Shivantha

sample server log is pasted below

[#|2011-04-08T07:51:22.824+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|Invoking
wsimport with http://uljvae01:6021/EPDQWS/EpdqWSService?WSDL|#]
[#|2011-04-08T07:51:22.824+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|wsimport
successful|#]
[#|2011-04-08T07:52:21.667+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
parsing WSDL...
|#]
[#|2011-04-08T07:52:22.027+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
generating code...
|#]
[#|2011-04-08T07:52:22.245+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
compiling code...
|#]
[#|2011-04-08T07:52:22.792+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|Invoking
wsimport with http://uljvae01:6021/EPDQWS/EpdqWSService?WSDL|#]
[#|2011-04-08T07:52:22.792+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|wsimport
successful|#]
[#|2011-04-08T07:53:22.011+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
parsing WSDL...
|#]
[#|2011-04-08T07:53:22.042+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
generating code...
|#]
[#|2011-04-08T07:53:22.214+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
compiling code...
|#]
[#|2011-04-08T07:53:22.870+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|Invoking
wsimport with http://uljvae01:6021/EPDQWS/EpdqWSService?WSDL|#]
[#|2011-04-08T07:53:22.870+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|wsimport
successful|#]
[#|2011-04-08T07:54:21.980+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
parsing WSDL...
|#]
[#|2011-04-08T07:54:22.495+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
generating code...
|#]
[#|2011-04-08T07:54:22.636+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
compiling code...
|#]
[#|2011-04-08T07:54:23.120+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|Invoking
wsimport with http://uljvae01:6021/EPDQWS/EpdqWSService?WSDL|#]
[#|2011-04-08T07:54:23.120+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|wsimport
successful|#]
[#|2011-04-08T07:55:21.949+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
parsing WSDL...
|#]
[#|2011-04-08T07:55:22.105+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
generating code...
|#]
[#|2011-04-08T07:55:22.324+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|
compiling code...
|#]
[#|2011-04-08T07:55:22.870+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|Invoking
wsimport with http://uljvae01:6021/EPDQWS/EpdqWSService?WSDL|#]
[#|2011-04-08T07:55:22.870+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|wsimport
successful|#]
*[#|2011-04-08T07:56:11.574+0100|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=18;_ThreadName=iMQEventHandler-4;|MQJMSRA_RA1101:
onEvent:Connection Event:E201:[E201]: Connection closed due to admin
requested shutdown: localhost:6027(2021),
com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:6027(2021),
ConnectionID=6740532968453863424, ReconnectEnabled: false,
IsConnectedToHABroker: false]|#]*
*[#|2011-04-08T07:56:11.574+0100|WARNING|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|MQJMSRA_RA2001:
onException:Connection Failed:[C4056]: Received goodbye message from
broker.|#]*
*[#|2011-04-08T07:56:16.620+0100|WARNING|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|MQJMSRA_RA2001:
onException:Reconnecting...Loop Attempt# 1:Delayed 5000 milliseconds.|#]*
*[#|2011-04-08T07:56:17.605+0100|WARNING|sun-appserver2.1|javax.jms|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|[C4003]:
Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect|#]*
*[#|2011-04-08T07:56:22.386+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|*
*parsing WSDL...*
*|#]*
*[#|2011-04-08T07:56:22.589+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|*
*generating code...*
*|#]*
*[#|2011-04-08T07:56:22.620+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|*
*compiling code...*
*|#]*
*[#|2011-04-08T07:56:23.214+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|Invoking
wsimport with http://uljvae01:6021/EPDQWS/EpdqWSService?WSDL|#]*
*[#|2011-04-08T07:56:23.214+0100|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6021-1;|wsimport
successful|#]*
*[#|2011-04-08T07:56:23.511+0100|WARNING|sun-appserver2.1|javax.jms|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|[C4003]:
Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect|#]*
*[#|2011-04-08T07:56:29.417+0100|WARNING|sun-appserver2.1|javax.jms|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|[C4003]:
Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect|#]*
*[#|2011-04-08T07:56:35.324+0100|WARNING|sun-appserver2.1|javax.jms|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|[C4003]:
Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect|#]*
*[#|2011-04-08T07:56:41.230+0100|WARNING|sun-appserver2.1|javax.jms|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|[C4003]:
Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect|#]*
*[#|2011-04-08T07:56:47.245+0100|WARNING|sun-appserver2.1|javax.jms|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|[C4003]:
Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect|#]*
*[#|2011-04-08T07:56:53.261+0100|WARNING|sun-appserver2.1|javax.jms|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|[C4003]:
Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect|#]*
*[#|2011-04-08T07:56:59.167+0100|WARNING|sun-appserver2.1|javax.jms|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|[C4003]:
Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect|#]*
*[#|2011-04-08T07:57:05.074+0100|WARNING|sun-appserver2.1|javax.jms|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|[C4003]:
Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect|#]*
*[#|2011-04-08T07:57:05.074+0100|SEVERE|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|MQJMSRA_RA2001:
onException:Reconnect unsuccessfull on loop# 1:[C4003]: Error occurred on
connection creation [localhost:6027]. - cause: java.net.ConnectException:
Connection refused: connect|#]*
*[#|2011-04-08T07:57:05.120+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=18;_ThreadName=iMQEventHandler-4;_RequestID=fed5aa4c-cb5c-4a77-9bfa-0fd92b3669a3;|com.sun.messaging.jms.JMSException:
[C4003]: Error occurred on connection creation [localhost:6027]. - cause:
java.net.ConnectException: Connection refused: connect*
*at
com.sun.messaging.jmq.jmsclient.ExceptionHandler.throwConnectionException(ExceptionHandler.java:274)*
*at
com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(ExceptionHandler.java:220)*
*at
com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:241)*
*at
com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:150)*
*at
com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:92)*
*at
com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:164)*
*at
com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:135)*
*at
com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:778)*
*at
com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionNew(ConnectionInitiator.java:254)*
*at
com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:208)*
*at
com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:158)*
*at
com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:816)*
*at
com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1529)*
*at
com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:2327)*
*at
com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:1024)*
*at
com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:418)*
*at
com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:60)*
*at
com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionImpl.java:58)*
*at
com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:91)*
*at
com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:69)*
*at
com.sun.messaging.jms.ra.ResourceAdapter.onException(ResourceAdapter.java:709)*
*at
com.sun.messaging.jmq.jmsclient.notification.EventHandler.deliverException(EventHandler.java:210)*
*at
com.sun.messaging.jmq.jmsclient.notification.EventHandler.run(EventHandler.java:184)*
*at java.lang.Thread.run(Thread.java:619)*
*Caused by: java.net.ConnectException: Connection refused: connect*
*at java.net.PlainSocketImpl.socketConnect(Native Method)*
*at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)*
*at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)*
*at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)*
*at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)*
*at java.net.Socket.connect(Socket.java:519)*
*at java.net.Socket.connect(Socket.java:469)*
*at java.net.Socket.<init>(Socket.java:366)*
*at java.net.Socket.<init>(Socket.java:180)*
*at
com.sun.messaging.jmq.jmsclient.PortMapperClient.makeSocketWithTimeout(PortMapperClient.java:268)*
*at
com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:220)*
*... 21 more*

 

--
[Message sent by forum member 'naptune890']
View Post: http://forums.java.net/node/790894