[ 
https://issues.apache.org/jira/browse/AMQ-9020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17578792#comment-17578792
 ] 

Jean-Baptiste Onofré commented on AMQ-9020:
-------------------------------------------

Hi,

Do you still have connection available in the pool ? Maybe you don't close the 
session cleanly in your client application (and so new connections are created 
in the pool).

> javax.jms.JMSException: Cannot send, channel has already failed: 
> tcp://xxx.xxx.xx.xx:61616
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQ-9020
>                 URL: https://issues.apache.org/jira/browse/AMQ-9020
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: AMQP, Camel
>    Affects Versions: 5.10.0
>            Reporter: Chan Krisna
>            Priority: Critical
>
> Hello support 
> We got issue on ACTIVE MQ javax.jms.JMSException: Cannot send, channel has 
> already failed
> Log
> 2022-05-21 03:41:21.449 [[ACTIVE] ExecuteThread: '0' for queue: 
> 'weblogic.kernel.Default (self-tuning)'] DEBUG 
> org.apache.activemq.jms.pool.PooledConnectionFactory v2.37.1.105 - Stopping 
> the PooledConnectionFactory, number of connections in cache: 0
> 2022-05-21 03:41:21.450 [[ACTIVE] ExecuteThread: '0' for queue: 
> 'weblogic.kernel.Default (self-tuning)'] DEBUG 
> org.apache.activemq.AdvisoryConsumer v2.37.1.105 - Failed to send remove 
> command: javax.jms.JMSException: Cannot send, channel has already failed: 
> tcp://192.168.20.52:61616
> javax.jms.JMSException: Cannot send, channel has already failed: 
> tcp://xxx.xxx.xx.xxx:61616
>     at 
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
>  ~[activemq-client-5.10.0.jar:5.10.0]
>     at 
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(ActiveMQConnection.java:1332)
>  ~[activemq-client-5.10.0.jar:5.10.0]
>     at 
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1324)
>  ~[activemq-client-5.10.0.jar:5.10.0]
>     at org.apache.activemq.AdvisoryConsumer.dispose(AdvisoryConsumer.java:57) 
> [activemq-client-5.10.0.jar:5.10.0]
>     at 
> org.apache.activemq.ActiveMQConnection.close(ActiveMQConnection.java:659) 
> [activemq-client-5.10.0.jar:5.10.0]
>     at 
> org.apache.activemq.jms.pool.ConnectionPool.close(ConnectionPool.java:149) 
> [activemq-jms-pool-5.10.0.jar:5.10.0]
>     at 
> org.apache.activemq.jms.pool.PooledConnectionFactory$1.destroyObject(PooledConnectionFactory.java:91)
>  [activemq-jms-pool-5.10.0.jar:5.10.0]
>     at 
> org.apache.activemq.jms.pool.PooledConnectionFactory$1.destroyObject(PooledConnectionFactory.java:79)
>  [activemq-jms-pool-5.10.0.jar:5.10.0]
>     at 
> org.apache.commons.pool.impl.GenericKeyedObjectPool.destroy(GenericKeyedObjectPool.java:1494)
>  [commons-pool-1.6.jar:1.6]
>     at 
> org.apache.commons.pool.impl.GenericKeyedObjectPool.clear(GenericKeyedObjectPool.java:1391)
>  [commons-pool-1.6.jar:1.6]
>     at 
> org.apache.commons.pool.impl.GenericKeyedObjectPool.close(GenericKeyedObjectPool.java:1807)
>  [commons-pool-1.6.jar:1.6]
>     at 
> org.apache.activemq.jms.pool.PooledConnectionFactory.stop(PooledConnectionFactory.java:280)
>  [activemq-jms-pool-5.10.0.jar:5.10.0]
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[?:1.8.0_181]
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_181]
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_181]
>     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to