Try using following URI (replace IP address and port with yours) when connecting your clients:
java.naming.provider.url=failover\:tcp\://10.77.210.19\:61799?trace\=true&wireFormat.maxInactivityDuration\=3600000 Shailendra84 wrote: > > Hi Rahul, > > Were you able to resolve this issue? As I am also having the same issue > here. I am using the activemq5.2.0. > > regards, > Shailen > > > rahulc wrote: >> >> Any ideas as to why would this error come up? >> >> TIA >> Rahul >> >> org.apache.activemq.ConnectionFailedException: The JMS connection has >> failed: Channel was inactive for too long. >> at >> org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1171) >> at >> org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:270) >> at >> org.apache.activemq.ActiveMQConnection.createQueueSession(ActiveMQConnection.java:1062) >> > > -- View this message in context: http://old.nabble.com/The-JMS-connection-has-failed%3A-Channel-was-inactive-for-too-long-tp7121449p26977080.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
