users@glassfish.java.net

Re: JMS Connection Reset

From: Amy Kang <Amy.Kang_at_Oracle.com>
Date: Fri, 29 Jul 2011 13:16:28 -0700

The broker exception says a message ack could not be processed because
its consumer couldn't be found, e.g. due to its connection was closing
(which could be caused by the same reason of client "Connection reset").
   The exception itself does not affect client connection.

On 11-07-28 07:59 AM, forums_at_java.net wrote:
> ahh knew I was rogetting to mention something!
>
> > WARNING: [C4003]: Error occurred on connection creation
> [PublicServer]. -
> cause: java.net.SocketException: Connection reset
>
> This is the only message you get, there isn't an exception /
> stacktrace or
> anything.
>
> I'm also leaning towards it being a firewall issue - Do you know of
> anyway
> that I could test that theory?
>
> I think that my next step is going to be to modify the application to
> work
> over port 80, in the hope that firewalls are less of an issue there.
>
>
>
> These are the interesting highlights from the logs :
>
>
>
> [25/Jul/2011:11:02:34 CAT] ERROR [B3100]: Unexpected Broker Internal
> Error :
> [-------------------------------------------Internal Error: Invalid
> Acknowledge Packet processing
> notifying client
> Packet:
> ACKNOWLEDGE(24):384-10.0.0.253(fb:9a:f7:59:83:40)-2579-1311584575734
> Magic/Version: 469754818/301 Size: 112 Type: ACKNOWLEDGE(24)
> Expiration: 0 Timestamp: 1311584575734
> Source IP: 10.0.0.253(fb:9a:f7:59:83:40) Port: 2579
> Sequence: 384
> Property Offset: 72 Property Size: 0
> Encryption: 0 Priority: 5
> Flags: A consumerID: 148
> TransactionID: 0
> MessageID: 384-10.0.0.253(fb:9a:f7:59:83:40)-2579-1311584575734
> Properties: null
> Message Body: 40 bytes
> [1539159461533484032:1006-192.168.0.4(82:1:4f:3e:b4:3b)-55433-1311584401746]
>
> Internal Buffers (useDirect=false):
> Fixed Header Buffer:java.nio.HeapByteBuffer[pos=0 lim=72 cap=72]
> --------------------------------------------]:
> com.sun.messaging.jmq.jmsserver.util.BrokerException: Internal Error:
> Unable
> to complete processing acks: Unknown consumer
> [consumer:1539159461533484032,
> type=NONE]
> at
> com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handleAcks(AckHandler.java:414)
>
> at
> com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handle(AckHandler.java:258)
>
> at
> com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:188)
>
> at
> com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.readData(IMQIPConnection.java:1362)
>
> at
> com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.process(IMQIPConnection.java:548)
>
> at
> com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:176)
>
> at
> com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:499)
>
> at java.lang.Thread.run(Thread.java:662)
>
>
>
>
>
> [25/Jul/2011:15:11:41 CAT] [B1066]: Closing:
> guest_at_41.146.147.28:1227->jms:3546 because "[B0061]: Client exited
> without
> closing connections". Count: service=0 broker=55
> [25/Jul/2011:15:11:41 CAT] ERROR [B3100]: Unexpected Broker Internal
> Error :
> [-------------------------------------------Internal Error: Invalid
> Acknowledge Packet processing
> notifying client
> Packet:
> ACKNOWLEDGE(24):940-10.0.0.104(8b:59:89:ea:f9:96)-51468-1311599524292
> Magic/Version: 469754818/301 Size: 112 Type: ACKNOWLEDGE(24)
> Expiration: 0 Timestamp: 1311599524292
> Source IP: 10.0.0.104(8b:59:89:ea:f9:96) Port: 51468
> Sequence: 940
> Property Offset: 72 Property Size: 0
> Encryption: 0 Priority: 5
> Flags: A consumerID: 461
> TransactionID: 0
> MessageID: 940-10.0.0.104(8b:59:89:ea:f9:96)-51468-1311599524292
> Properties: null
> Message Body: 40 bytes
> [1539159463763655680:6499-192.168.0.4(b7:26:d3:d2:3e:74)-55040-1311599036423]
>
> Internal Buffers (useDirect=false):
> Fixed Header Buffer:java.nio.HeapByteBuffer[pos=0 lim=72 cap=72]
> --------------------------------------------]:
> com.sun.messaging.jmq.jmsserver.util.BrokerException: Internal Error:
> Unable
> to complete processing acks: Unknown consumer
> [consumer:1539159463763655680,
> type=NONE]
> at
> com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handleAcks(AckHandler.java:414)
>
> at
> com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handle(AckHandler.java:258)
>
> at
> com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:188)
>
> at
> com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.readData(IMQIPConnection.java:1362)
>
> at
> com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.process(IMQIPConnection.java:548)
>
> at
> com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:176)
>
> at
> com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:499)
>
> at java.lang.Thread.run(Thread.java:662)
>
>
> --
>
> [Message sent by forum member 'timsa']
>
> View Post: http://forums.java.net/node/826943
>
>