Skip to main content

[I500]: Caught JVM Exception: java.lang.NullPointerException?

3 replies [Last post]
hegalor
Offline
Joined: 2008-07-21

I got this warning:

[#|2009-12-01T12:25:58.437+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=47;_ThreadName=iMQReadChannel-13;_RequestID=ebab3cde-8f82-4174-8996-17460061e4a7;|[I500]: Caught JVM Exception: java.lang.NullPointerException|#]

Before this I got some other strange information:

[#|2009-12-01T12:25:55.375+0000|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=31;_ThreadName=RMI TCP Connection(20)-127.0.0.1;|CORE5051: Shutting down all J2EE applications ...|#]

[#|2009-12-01T12:25:55.390+0000|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=31;_ThreadName=RMI TCP Connection(20)-127.0.0.1;2009/12/01 12:25:55;|EJB5122:EJB Timer Service shutdown at [2009/12/01 12:25:55]|#]

[#|2009-12-01T12:25:55.390+0000|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=31;_ThreadName=RMI TCP Connection(20)-127.0.0.1;|CORE5068 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]

[#|2009-12-01T12:25:55.390+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=32;_ThreadName=Thread-328;|MQJMSRA_RA1101: SJSMQ JMSRA stopping...|#]

[#|2009-12-01T12:25:55.390+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=32;_ThreadName=Thread-328;|MQJMSRA_RA1101: SJSMQ JMSRA stopped.|#]

[#|2009-12-01T12:25:55.390+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=31;_ThreadName=RMI TCP Connection(20)-127.0.0.1;jmsra;|RAR7094: jmsra shutdown successful.|#]

[#|2009-12-01T12:25:55.390+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=31;_ThreadName=RMI TCP Connection(20)-127.0.0.1;__ds;|RAR7094: __ds shutdown successful.|#]

[#|2009-12-01T12:25:55.390+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=31;_ThreadName=RMI TCP Connection(20)-127.0.0.1;__xa;|RAR7094: __xa shutdown successful.|#]

[#|2009-12-01T12:25:55.390+0000|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=31;_ThreadName=RMI TCP Connection(20)-127.0.0.1;|CORE 5061 : Resource adapters Stop() Complete|#]

[#|2009-12-01T12:25:55.390+0000|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=31;_ThreadName=RMI TCP Connection(20)-127.0.0.1;|CORE5052: Application shutdown complete.|#]

[#|2009-12-01T12:25:55.422+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=33;_ThreadName=iMQReadChannel-25;_RequestID=f0a107a5-f70c-451f-94d1-2d75eabd900e;|[I500]: Caught JVM Exception: java.io.EOFException: Trying to read 72 bytes. Already read 0 bytes.|#]

[#|2009-12-01T12:25:55.422+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=34;_ThreadName=iMQEventHandler-25;|MQJMSRA_CL1101: onEvent:Connection Event for mc=15 :xacId=:event:E201:[E201]: Connection closed due to admin requested shutdown: localhost:7676(3689), com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:7676(3689), ConnectionID=2316017108961118722, ReconnectEnabled: true, IsConnectedToHABroker: false]|#]

[#|2009-12-01T12:25:55.422+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=40;_ThreadName=iMQEventHandler-21;|MQJMSRA_CL1101: onEvent:Connection Event for mc=11 :xacId=:event:E201:[E201]: Connection closed due to admin requested shutdown: localhost:7676(3689), com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:7676(3689), ConnectionID=2316017108961102848, ReconnectEnabled: true, IsConnectedToHABroker: false]|#]

[#|2009-12-01T12:25:55.422+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=37;_ThreadName=iMQReadChannel-21;_RequestID=1d05730f-04f7-4802-962d-c6e4092907c3;|[I500]: Caught JVM Exception: java.io.EOFException: Trying to read 72 bytes. Already read 0 bytes.|#]

[#|2009-12-01T12:25:55.422+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=38;_ThreadName=iMQReadChannel-24;_RequestID=c5204f47-72a9-4858-8006-660a37cd1796;|[I500]: Caught JVM Exception: java.io.EOFException: Trying to read 72 bytes. Already read 0 bytes.|#]

[#|2009-12-01T12:25:55.422+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=39;_ThreadName=iMQEventHandler-24;|MQJMSRA_CL1101: onEvent:Connection Event for mc=14 :xacId=:event:E201:[E201]: Connection closed due to admin requested shutdown: localhost:7676(3689), com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:7676(3689), ConnectionID=2316017108961118720, ReconnectEnabled: true, IsConnectedToHABroker: false]|#]

[#|2009-12-01T12:25:55.422+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=36;_ThreadName=iMQReadChannel-14;_RequestID=8dde005f-84eb-4374-ba66-4352f7ac1eb5;|[I500]: Caught JVM Exception: java.io.EOFException: Trying to read 72 bytes. Already read 0 bytes.|#]

[#|2009-12-01T12:25:55.422+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=35;_ThreadName=iMQEventHandler-14;|MQJMSRA_CL1101: onEvent:Connection Event for mc=4 :xacId=:event:E201:[E201]: Connection closed due to admin requested shutdown: localhost:7676(3689), com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:7676(3689), ConnectionID=2316017108884273921, ReconnectEnabled: true, IsConnectedToHABroker: false]|#]

[#|2009-12-01T12:25:55.437+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=41;_ThreadName=iMQReadChannel-23;_RequestID=13a6fb34-922e-4c05-bb7d-fcd61eef2f5a;|[I500]: Caught JVM Exception: java.io.EOFException: Trying to read 72 bytes. Already read 0 bytes.|#]

[#|2009-12-01T12:25:55.437+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=42;_ThreadName=iMQReadChannel-22;_RequestID=3a306af5-7fe9-4a12-b872-d60a85b228ca;|[I500]: Caught JVM Exception: java.io.EOFException: Trying to read 72 bytes. Already read 0 bytes.|#]

[#|2009-12-01T12:25:55.437+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=43;_ThreadName=iMQEventHandler-22;|MQJMSRA_CL1101: onEvent:Connection Event for mc=12 :xacId=:event:E201:[E201]: Connection closed due to admin requested shutdown: localhost:7676(3689), com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:7676(3689), ConnectionID=2316017108961106689, ReconnectEnabled: true, IsConnectedToHABroker: false]|#]

[#|2009-12-01T12:25:55.437+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=44;_ThreadName=iMQReadChannel-26;_RequestID=428f0786-fb66-431b-be80-1bce993bb80c;|[I500]: Caught JVM Exception: java.io.EOFException: Trying to read 72 bytes. Already read 0 bytes.|#]

[#|2009-12-01T12:25:55.437+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=45;_ThreadName=iMQEventHandler-23;|MQJMSRA_CL1101: onEvent:Connection Event for mc=13 :xacId=:event:E201:[E201]: Connection closed due to admin requested shutdown: localhost:7676(3689), com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:7676(3689), ConnectionID=2316017108961110784, ReconnectEnabled: true, IsConnectedToHABroker: false]|#]

[#|2009-12-01T12:25:55.437+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=46;_ThreadName=iMQEventHandler-26;|MQJMSRA_CL1101: onEvent:Connection Event for mc=16 :xacId=:event:E201:[E201]: Connection closed due to admin requested shutdown: localhost:7676(3689), com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:7676(3689), ConnectionID=2316017108961122817, ReconnectEnabled: true, IsConnectedToHABroker: false]|#]

[#|2009-12-01T12:25:55.437+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=47;_ThreadName=iMQReadChannel-13;_RequestID=ebab3cde-8f82-4174-8996-17460061e4a7;|[I500]: Caught JVM Exception: java.io.EOFException: Trying to read 72 bytes. Already read 0 bytes.|#]

[#|2009-12-01T12:25:55.437+0000|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=48;_ThreadName=iMQEventHandler-13;|MQJMSRA_CL1101: onEvent:Connection Event for mc=3 :xacId=:event:E201:[E201]: Connection closed due to admin requested shutdown: localhost:7676(3689), com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:7676(3689), ConnectionID=2316017108884269824, ReconnectEnabled: true, IsConnectedToHABroker: false]|#]

[#|2009-12-01T12:25:55.484+0000|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=31;_ThreadName=RMI TCP Connection(20)-127.0.0.1;|[AutoDeploy] Disabling AutoDeployment service.|#]

[#|2009-12-01T12:25:58.437+0000|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=33;_ThreadName=iMQReadChannel-25;|[I107]: Connection recover state: RECOVER_INACTIVE, broker: localhost:7676(3689)|#]

[#|2009-12-01T12:25:58.437+0000|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=38;_ThreadName=iMQReadChannel-24;|[I107]: Connection recover state: RECOVER_INACTIVE, broker: localhost:7676(3689)|#]

[#|2009-12-01T12:25:58.437+0000|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=37;_ThreadName=iMQReadChannel-21;|[I107]: Connection recover state: RECOVER_INACTIVE, broker: localhost:7676(3689)|#]

[#|2009-12-01T12:25:58.437+0000|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=36;_ThreadName=iMQReadChannel-14;|[I107]: Connection recover state: RECOVER_INACTIVE, broker: localhost:7676(3689)|#]

[#|2009-12-01T12:25:58.437+0000|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=41;_ThreadName=iMQReadChannel-23;|[I107]: Connection recover state: RECOVER_INACTIVE, broker: localhost:7676(3689)|#]

[#|2009-12-01T12:25:58.437+0000|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=42;_ThreadName=iMQReadChannel-22;|[I107]: Connection recover state: RECOVER_INACTIVE, broker: localhost:7676(3689)|#]

[#|2009-12-01T12:25:58.437+0000|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=44;_ThreadName=iMQReadChannel-26;|[I107]: Connection recover state: RECOVER_INACTIVE, broker: localhost:7676(3689)|#]

[#|2009-12-01T12:25:58.437+0000|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=47;_ThreadName=iMQReadChannel-13;|[I107]: Connection recover state: RECOVER_INACTIVE, broker: localhost:7676(3689)|#]

[#|2009-12-01T12:25:58.437+0000|WARNING|sun-appserver2.1|javax.jms|_ThreadID=47;_ThreadName=iMQReadChannel-13;_RequestID=ebab3cde-8f82-4174-8996-17460061e4a7;|[I500]: Caught JVM Exception: java.lang.NullPointerException|#]

Is this related to http://forums.java.net/jive/thread.jspa?threadID=68705&tstart=0 ?
What can I do?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
nigeldeakin
Offline
Joined: 2007-10-12

The first few log messages (e.g. "Shutting down all J2EE applications" anf "SJSMQ JMSRA stopping..") show that you are shutting down Glassfish when this happens.

This seems to be an occurrence of
https://glassfish.dev.java.net/issues/show_bug.cgi?id=10392.

The errors are caused by Glassfish components being shut down in the wrong order, and should be harmless.

Feel free to add your own comments to that bug.

Nigel

naptune890
Offline
Joined: 2011-04-11

Hi Nigel
I got the same problem in glassfish 2.1.1 but this happens while in the running mode. 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.

previous thread have pulished 2 years back and So I hope somebody can resolve this to me
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

nigeldeakin
Offline
Joined: 2007-10-12

This logging shows GlassFish throwing errors after the MQ broker has been shut down. ("Connection closed due to admin requested shutdown").
Did you shut down the broker?
Nigel