[ 
https://issues.apache.org/jira/browse/QPID-7891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dharam Thacker updated QPID-7891:
---------------------------------
    Description: 
Hi Team,

I am facing below exception frequently on random time interval for my qpid 
client app. I have attached my spring bean definitions as well in attachment 
section. 

I don't have good way to reproduce this but it happens whenever there is 
message burst from queue for consumer application. It's also not a transient 
error but it happens quite frequently for us.

URI as per logs : org.apache.qpid.client.AMQConnection 
Connection(1):amqp://App41e4abb8a78c4310b5ac40b973f437cc:********@App41e4abb8a78c4310b5ac40b973f437cc/b82e317d53cc4f06b2f6cdc347f1a3a5?brokerlist='tcp://broker-2.qpid.services.domain.com:5672'
 

*+Note+*: I have attached debug logs as well for details informations

*+Exception Stacktrace:+*

h2. 
----


o.s.j.c.CachingConnectionFactory Encountered a JMSException - resetting the 
underlying JMS Connection javax.jms.JMSException: Exception thrown against 
AMQConnection: Host: broker-2.qpid.services.domain.com  Port: 5672 
Virtual Host: 3c6273fa428142108b2fe4ffa4404612 Client ID: 
Appbb7488d910fa4c5b8e0561dec8f3f478 Active session count: 11: 
org.apache.qpid.AMQConnectionClosedException: Error: Unknown channel id: 139 
[error code 504: channel error]at 
org.apache.qpid.client.AMQConnection.convertToJMSException(AMQConnection.java:1550)
 at org.apache.qpid.client.AMQConnection.closed(AMQConnection.java:1563) 
at 
org.apache.qpid.client.AMQProtocolHandler.closed(AMQProtocolHandler.java:235) 
at 
org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.closed(AMQConnectionDelegate_8_0.java:563)
 
at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:225) 
at java.lang.Thread.run(Thread.java:745) Caused by: 
org.apache.qpid.AMQConnectionClosedException: {color:red}*Error: Unknown 
channel id: 139 
*{color}at 
org.apache.qpid.client.handler.ConnectionCloseMethodHandler.methodReceived(ConnectionCloseMethodHandler.java:90)
 
at 
org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchConnectionClose(ClientMethodDispatcherImpl.java:227)
 
at 
org.apache.qpid.framing.ConnectionCloseBody.execute(ConnectionCloseBody.java:103)
 
at 
org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:118)
 
at 
org.apache.qpid.client.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:523)
 
at 
org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:446)
 
at org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:64) 
at 
org.apache.qpid.client.AMQProtocolHandler.received(AMQProtocolHandler.java:473) 
at 
org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:549)
 
at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:164) ... 
1 common frames omitted 

h2. 
----

o.s.j.c.CachingConnectionFactory Encountered a JMSException - resetting the 
underlying JMS Connection javax.jms.JMSException: Exception thrown against 
AMQConnection: Host: broker-2.qpid.services.domain.com Port: 5672 
Virtual Host: ad5203dcf2d9445dac4ce7dede1c1723 Client ID: 
App95af31d06be944faa6583a2fd7f5bca9 Active session count: 10: 
org.apache.qpid.AMQConnectionClosedException: Error: Unknown channel id: 64 
[error code 504: channel error] 
at 
org.apache.qpid.client.AMQConnection.convertToJMSException(AMQConnection.java:1550)
       
at org.apache.qpid.client.AMQConnection.closed(AMQConnection.java:1563)       
at 
org.apache.qpid.client.AMQProtocolHandler.closed(AMQProtocolHandler.java:235)   
    
at 
org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.closed(AMQConnectionDelegate_8_0.java:563)
       
at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:225)     
 
at java.lang.Thread.run(Thread.java:745) Caused by: 
org.apache.qpid.AMQConnectionClosedException: *{color:red}Error: Unknown 
channel id: 64{color}*       
at 
org.apache.qpid.client.handler.ConnectionCloseMethodHandler.methodReceived(ConnectionCloseMethodHandler.java:90)
       
at 
org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchConnectionClose(ClientMethodDispatcherImpl.java:227)
       
at 
org.apache.qpid.framing.ConnectionCloseBody.execute(ConnectionCloseBody.java:103)
       
at 
org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:118)
       
at 
org.apache.qpid.client.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:523)
       
at 
org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:446)
       
at org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:64)  
     
at 
org.apache.qpid.client.AMQProtocolHandler.received(AMQProtocolHandler.java:473) 
      
at 
org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:549)
      
at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:164)     
  ... 1 common frames omitted      

  was:
Hi Team,

I am facing below exception frequently on random time interval for my qpid 
client app. I have attached my spring bean definitions as well in attachment 
section. 

I don't have good way to reproduce this but it happens whenever there is 
message burst from queue for consumer application. It's also not a transient 
error but it happens quite frequently for us.

URI as per logs : org.apache.qpid.client.AMQConnection 
Connection(1):amqp://App41e4abb8a78c4310b5ac40b973f437cc:********@App41e4abb8a78c4310b5ac40b973f437cc/b82e317d53cc4f06b2f6cdc347f1a3a5?brokerlist='tcp://broker-2.qpid.services.domain.com:5672'
 

*+Note+*: I have attached debug logs as well for details informations

*+Exception Stacktrace:+*

h2. 
----


o.s.j.c.CachingConnectionFactory Encountered a JMSException - resetting the 
underlying JMS Connection javax.jms.JMSException: Exception thrown against 
AMQConnection: Host: broker-2.qpid.services.domain.com  Port: 5672 
Virtual Host: 3c6273fa428142108b2fe4ffa4404612 Client ID: 
Appbb7488d910fa4c5b8e0561dec8f3f478 Active session count: 11: 
org.apache.qpid.AMQConnectionClosedException: Error: Unknown channel id: 139 
[error code 504: channel error]at 
org.apache.qpid.client.AMQConnection.convertToJMSException(AMQConnection.java:1550)
 at org.apache.qpid.client.AMQConnection.closed(AMQConnection.java:1563) 
at 
org.apache.qpid.client.AMQProtocolHandler.closed(AMQProtocolHandler.java:235) 
at 
org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.closed(AMQConnectionDelegate_8_0.java:563)
 
at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:225) 
at java.lang.Thread.run(Thread.java:745) Caused by: 
org.apache.qpid.AMQConnectionClosedException: Error: Unknown channel id: 139 
at 
org.apache.qpid.client.handler.ConnectionCloseMethodHandler.methodReceived(ConnectionCloseMethodHandler.java:90)
 
at 
org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchConnectionClose(ClientMethodDispatcherImpl.java:227)
 
at 
org.apache.qpid.framing.ConnectionCloseBody.execute(ConnectionCloseBody.java:103)
 
at 
org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:118)
 
at 
org.apache.qpid.client.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:523)
 
at 
org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:446)
 
at org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:64) 
at 
org.apache.qpid.client.AMQProtocolHandler.received(AMQProtocolHandler.java:473) 
at 
org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:549)
 
at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:164) ... 
1 common frames omitted 

h2. 
----

o.s.j.c.CachingConnectionFactory Encountered a JMSException - resetting the 
underlying JMS Connection javax.jms.JMSException: Exception thrown against 
AMQConnection: Host: broker-2.qpid.services.domain.com Port: 5672 Virtual Host: 
ad5203dcf2d9445dac4ce7dede1c1723 Client ID: App95af31d06be944faa6583a2fd7f5bca9 
Active session count: 10: org.apache.qpid.AMQConnectionClosedException: Error: 
Unknown channel id: 64 [error code 504: channel error] at 
org.apache.qpid.client.AMQConnection.convertToJMSException(AMQConnection.java:1550)
       at org.apache.qpid.client.AMQConnection.closed(AMQConnection.java:1563)  
     at 
org.apache.qpid.client.AMQProtocolHandler.closed(AMQProtocolHandler.java:235)   
    at 
org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.closed(AMQConnectionDelegate_8_0.java:563)
       at 
org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:225)       
at java.lang.Thread.run(Thread.java:745) Caused by: 
org.apache.qpid.AMQConnectionClosedException: Error: Unknown channel id: 64     
  at 
org.apache.qpid.client.handler.ConnectionCloseMethodHandler.methodReceived(ConnectionCloseMethodHandler.java:90)
       at 
org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchConnectionClose(ClientMethodDispatcherImpl.java:227)
       at 
org.apache.qpid.framing.ConnectionCloseBody.execute(ConnectionCloseBody.java:103)
       at 
org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:118)
       at 
org.apache.qpid.client.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:523)
       at 
org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:446)
       at 
org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:64)     
  at 
org.apache.qpid.client.AMQProtocolHandler.received(AMQProtocolHandler.java:473) 
      at 
org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:549)
       at 
org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:164)       
... 1 common frames omitted      


> AMQConnectionClosedException - Error: Unknown channel id: X [error code 504: 
> channel error]
> -------------------------------------------------------------------------------------------
>
>                 Key: QPID-7891
>                 URL: https://issues.apache.org/jira/browse/QPID-7891
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Client
>    Affects Versions: qpid-java-6.1.1
>            Reporter: Dharam Thacker
>              Labels: newbie, qpid, qpidclient
>         Attachments: QpidConfig.java, qpid_debug_logs.txt
>
>
> Hi Team,
> I am facing below exception frequently on random time interval for my qpid 
> client app. I have attached my spring bean definitions as well in attachment 
> section. 
> I don't have good way to reproduce this but it happens whenever there is 
> message burst from queue for consumer application. It's also not a transient 
> error but it happens quite frequently for us.
> URI as per logs : org.apache.qpid.client.AMQConnection 
> Connection(1):amqp://App41e4abb8a78c4310b5ac40b973f437cc:********@App41e4abb8a78c4310b5ac40b973f437cc/b82e317d53cc4f06b2f6cdc347f1a3a5?brokerlist='tcp://broker-2.qpid.services.domain.com:5672'
>  
> *+Note+*: I have attached debug logs as well for details informations
> *+Exception Stacktrace:+*
> h2. 
> ----
> o.s.j.c.CachingConnectionFactory Encountered a JMSException - resetting the 
> underlying JMS Connection javax.jms.JMSException: Exception thrown against 
> AMQConnection: Host: broker-2.qpid.services.domain.com  Port: 5672 
> Virtual Host: 3c6273fa428142108b2fe4ffa4404612 Client ID: 
> Appbb7488d910fa4c5b8e0561dec8f3f478 Active session count: 11: 
> org.apache.qpid.AMQConnectionClosedException: Error: Unknown channel id: 139 
> [error code 504: channel error]at 
> org.apache.qpid.client.AMQConnection.convertToJMSException(AMQConnection.java:1550)
>  at org.apache.qpid.client.AMQConnection.closed(AMQConnection.java:1563) 
> at 
> org.apache.qpid.client.AMQProtocolHandler.closed(AMQProtocolHandler.java:235) 
> at 
> org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.closed(AMQConnectionDelegate_8_0.java:563)
>  
> at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:225) 
> at java.lang.Thread.run(Thread.java:745) Caused by: 
> org.apache.qpid.AMQConnectionClosedException: {color:red}*Error: Unknown 
> channel id: 139 
> *{color}at 
> org.apache.qpid.client.handler.ConnectionCloseMethodHandler.methodReceived(ConnectionCloseMethodHandler.java:90)
>  
> at 
> org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchConnectionClose(ClientMethodDispatcherImpl.java:227)
>  
> at 
> org.apache.qpid.framing.ConnectionCloseBody.execute(ConnectionCloseBody.java:103)
>  
> at 
> org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:118)
>  
> at 
> org.apache.qpid.client.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:523)
>  
> at 
> org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:446)
>  
> at 
> org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:64) 
> at 
> org.apache.qpid.client.AMQProtocolHandler.received(AMQProtocolHandler.java:473)
>  
> at 
> org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:549)
>  
> at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:164) 
> ... 1 common frames omitted 
> h2. 
> ----
> o.s.j.c.CachingConnectionFactory Encountered a JMSException - resetting the 
> underlying JMS Connection javax.jms.JMSException: Exception thrown against 
> AMQConnection: Host: broker-2.qpid.services.domain.com Port: 5672 
> Virtual Host: ad5203dcf2d9445dac4ce7dede1c1723 Client ID: 
> App95af31d06be944faa6583a2fd7f5bca9 Active session count: 10: 
> org.apache.qpid.AMQConnectionClosedException: Error: Unknown channel id: 64 
> [error code 504: channel error] 
> at 
> org.apache.qpid.client.AMQConnection.convertToJMSException(AMQConnection.java:1550)
>        
> at org.apache.qpid.client.AMQConnection.closed(AMQConnection.java:1563)       
> at 
> org.apache.qpid.client.AMQProtocolHandler.closed(AMQProtocolHandler.java:235) 
>       
> at 
> org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.closed(AMQConnectionDelegate_8_0.java:563)
>        
> at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:225)   
>    
> at java.lang.Thread.run(Thread.java:745) Caused by: 
> org.apache.qpid.AMQConnectionClosedException: *{color:red}Error: Unknown 
> channel id: 64{color}*       
> at 
> org.apache.qpid.client.handler.ConnectionCloseMethodHandler.methodReceived(ConnectionCloseMethodHandler.java:90)
>        
> at 
> org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchConnectionClose(ClientMethodDispatcherImpl.java:227)
>        
> at 
> org.apache.qpid.framing.ConnectionCloseBody.execute(ConnectionCloseBody.java:103)
>        
> at 
> org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:118)
>        
> at 
> org.apache.qpid.client.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:523)
>        
> at 
> org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:446)
>        
> at 
> org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:64)   
>     
> at 
> org.apache.qpid.client.AMQProtocolHandler.received(AMQProtocolHandler.java:473)
>        
> at 
> org.apache.qpid.client.AMQConnectionDelegate_8_0$ReceiverClosedWaiter.received(AMQConnectionDelegate_8_0.java:549)
>       
> at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:164)   
>     ... 1 common frames omitted      



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to