users@glassfish.java.net

Re: GF 2.1.1 IMQReaderChannel WARNING

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Feb 2010 09:46:24 PST

I am having same problem on 2ur2. No cluster. LOCAL jms host. (EMBEDDED produced a lot of errors in log so i switched to LOCAL as suggested by other discusstions) It got shutdown by GF mysteriously. No error in server.log or imq's log at all.

server.log:
[#|2010-02-17T11:30:29.728-0500|WARNING|sun-appserver9.1|javax.jms|_ThreadID=278;_ThreadName=iMQReadChannel-6203;_RequestID=5dedd816-ce3b-459e-8ff9-9bc12abf8897;|[I500]: Caught JVM Exception: java.io.EOFException|#]

[#|2010-02-17T11:30:29.728-0500|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=279;_ThreadName=iMQEventHandler-4;|MQJMSRA_RA1101: onEvent:Connection Event:E201:[E201]: Connection closed due to admin requested shutdown: localhost:7676(3929), com.sun.messaging.jms.notification.ConnectionClosedEvent[source=BrokerAddress=localhost:7676(3929), ConnectionID=5026341266044488448, ReconnectEnabled: false, IsConnectedToHABroker: false]|#]

[#|2010-02-17T11:30:29.728-0500|WARNING|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=279;_ThreadName=iMQEventHandler-4;_RequestID=569ba8ef-0b1f-4a8c-97fa-c94626df90e6;|MQJMSRA_RA2001: onException:Connection Failed:[C4056]: Received goodbye message from broker.|#]

Note the first EOFException is effect, not cause. The root cause is broker got shutdown. "admin request shutdown"? Nobody did that!

imq's log.txt:
[17/Feb/2010:11:30:29 EST] [B1047]: Shutting down broker...
[17/Feb/2010:11:30:29 EST] [B1077]: Broadcast good-bye to all connections ...
[17/Feb/2010:11:30:29 EST] [B1078]: Flushing good-bye messages ...
[17/Feb/2010:11:30:29 EST] [B1007]: Stopping Service admin with protocol tcp(host = *, port=0, mode=dedicated)

Before that happened, everything had run well for a week. There is only one app that produces message to a queue, and another MDB consumes it. I didn't shutdown/restart/change config in GF. 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 1 day but there is not much information about this problem.
[Message sent by forum member 'haibei' (zhanghaibei_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=387435