Was that error happening when you first saw the behavior you first asked
about? Are you saying that these are related, or that they're two unrelated
issues? I can't see anything obvious about this exception that I would
expect to result in the behavior you saw in your first post, so my starting
assumption is that the two are unrelated.

Tim

On Thu, Mar 8, 2018 at 9:58 PM, Rajesh Malla <mallara...@gmail.com> wrote:

> following error messages we are seeing on client side :
> 2018-03-08 18:38:24,248 41319597 [Camel (jcsCoreCamelContext) thread #12 -
> JmsConsumer[uniquequename]]
> (org.apache.activemq.activemq-osgi:org.apache.activemq.jms.
> pool.PooledSession:126)
> WARN   - Caught exception trying close() when putting session back into the
> pool, will invalidate. javax.jms.JMSException: Cannot send, channel has
> already failed: https://URL
> javax.jms.JMSException: Cannot send, channel has already failed:
> https://URL
>         at
> org.apache.activemq.util.JMSExceptionSupport.create(
> JMSExceptionSupport.java:72)[120:org.apache.activemq.activemq-osgi:5.12.3]
>         at
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(
> ActiveMQConnection.java:1314)[120:org.apache.activemq.
> activemq-osgi:5.12.3]
>         at
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(
> ActiveMQConnection.java:1306)[120:org.apache.activemq.
> activemq-osgi:5.12.3]
>         at
> org.apache.activemq.ActiveMQSession.asyncSendPacket(
> ActiveMQSession.java:2074)[120:org.apache.activemq.activemq-osgi:5.12.3]
>         at
> org.apache.activemq.ActiveMQMessageConsumer.doClose(
> ActiveMQMessageConsumer.java:728)[120:org.apache.activemq.
> activemq-osgi:5.12.3]
>         at
> org.apache.activemq.ActiveMQMessageConsumer.close(
> ActiveMQMessageConsumer.java:715)[120:org.apache.activemq.
> activemq-osgi:5.12.3]
>         at
> org.apache.activemq.jms.pool.PooledSession.close(
> PooledSession.java:108)[120:org.apache.activemq.activemq-osgi:5.12.3]
>         at
> org.apache.activemq.jms.pool.PooledConnection.cleanupAllLoanedSessions(
> PooledConnection.java:257)[120:org.apache.activemq.activemq-osgi:5.12.3]
>         at
> org.apache.activemq.jms.pool.PooledConnection.close(
> PooledConnection.java:85)[120:org.apache.activemq.activemq-osgi:5.12.3]
>         at
> org.springframework.jms.connection.ConnectionFactoryUtils.
> releaseConnection(ConnectionFactoryUtils.java:
> 80)[140:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
>         at
> org.springframework.jms.listener.AbstractJmsListeningContainer.
> refreshSharedConnection(AbstractJmsListeningContainer.
> java:387)[140:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
>         at
> org.springframework.jms.listener.DefaultMessageListenerContainer.
> refreshConnectionUntilSuccessful(DefaultMessageListenerContaine
> r.java:887)[140:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
>         at
> org.springframework.jms.listener.DefaultMessageListenerContainer.
> recoverAfterListenerSetupFailure(DefaultMessageListenerContaine
> r.java:863)[140:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1]
>         at
> org.springframework.jms.listener.DefaultMessageListenerContaine
> r$AsyncMessageListenerInvoker.run(DefaultMessageListenerContaine
> r.java:1014)[140:org.apache.servicemix.bundles.spring-jms:
> 3.2.14.RELEASE_1]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)[:1.8.0_60]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)[:1.8.0_60]
>         at java.lang.Thread.run(Unknown Source)[:1.8.0_60]
> Caused by: org.apache.activemq.transport.InactivityIOException: Cannot
> send,
> channel has already failed: https://URL
>         at
> org.apache.activemq.transport.AbstractInactivityMonitor.doOnewaySend(
> AbstractInactivityMonitor.java:333)[120:org.apache.
> activemq.activemq-osgi:5.12.3]
>         at
> org.apache.activemq.transport.AbstractInactivityMonitor.oneway(
> AbstractInactivityMonitor.java:322)[120:org.apache.
> activemq.activemq-osgi:5.12.3]
>         at
> org.apache.activemq.transport.MutexTransport.oneway(
> MutexTransport.java:68)[120:org.apache.activemq.activemq-osgi:5.12.3]
>         at
> org.apache.activemq.transport.ResponseCorrelator.oneway(
> ResponseCorrelator.java:60)[120:org.apache.activemq.activemq-osgi:5.12.3]
>         at
> org.apache.activemq.ActiveMQConnection.doAsyncSendPacket(
> ActiveMQConnection.java:1312)[120:org.apache.activemq.
> activemq-osgi:5.12.3]
>         ... 15 more
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>

Reply via email to