activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin W Edwards (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-1482) Channel was inactive for too long.
Date Wed, 31 Oct 2007 14:46:23 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40537
] 

Kevin W Edwards commented on AMQ-1482:
--------------------------------------

It appears that the channel is inactive for too long, 
Then a check confirms that the Consumer is closed
And then an error is thrown stating that the socket is closed.
The consumer messages reoccur a number of times, 
Eventually, (we have a connection manager that monitors and handles regaining a connection
to AMQ, our connection manager will successfully regain a connection...

Below is a more complete stack trace:
60219 [AcitveMQ Connection Worker: tcp://localhost/127.0.0.1:61616] ERROR JMS Connection Service
- exception occurred in JMS connection; restarting
javax.jms.JMSException: Channel was inactive for too long.
	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
	at org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1638)
	at org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1655)
	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
	at org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:116)
	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
	at org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:143)
	at org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:155)
	at org.apache.activemq.transport.InactivityMonitor.readCheck(InactivityMonitor.java:100)
	at org.apache.activemq.transport.InactivityMonitor$1.run(InactivityMonitor.java:50)
	at org.apache.activemq.thread.Scheduler$SchedulerTimerTask.run(Scheduler.java:36)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)
Caused by: org.apache.activemq.transport.InactivityIOException: Channel was inactive for too
long.
	... 5 more
60219 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60219 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60219 [AcitveMQ Connection Worker: tcp://localhost/127.0.0.1:61616] ERROR JMS Connection Service
- exception occurred in JMS connection; restarting
javax.jms.JMSException: socket closed
	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
	at org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1638)
	at org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1655)
	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
	at org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:116)
	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
	at org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:143)
	at org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:155)
	at org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:95)
	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:180)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: socket closed
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(Unknown Source)
	at org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:50)
	at org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:58)
	at java.io.DataInputStream.readInt(Unknown Source)
	at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
	at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:196)
	at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:188)
	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:176)
	... 1 more
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60234 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60250 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60250 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60250 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60250 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60250 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)
60250 [JmsConnectionManager] INFO JMS Connection Service - JMS connection to broker created
successfully
60250 [testAgentID:JMS Receiver Thread] ERROR Test Agent - error receiving JMS message
javax.jms.IllegalStateException: The Consumer is closed
	at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:672)
	at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:502)
	at net.fractech.ops.daq.agent.AbstractAgent.run(AbstractAgent.java:108)
	at java.lang.Thread.run(Unknown Source)




> Channel was inactive for too long.
> ----------------------------------
>
>                 Key: AMQ-1482
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1482
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Connector
>    Affects Versions: 5.0.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>
> 603422 [AcitveMQ Connection Worker: tcp://localhost/127.0.0.1:61616] ERROR JMS Connection
Service - exception occurred in JMS connection; restarting
> javax.jms.JMSException: Channel was inactive for too long.
> 	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
> 	at org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1638)
> 	at org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1655)
> 	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
> 	at org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:116)
> 	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
> 	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:98)
> 	at org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:143)
> 	at org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:155)
> 	at org.apache.activemq.transport.InactivityMonitor.readCheck(InactivityMonitor.java:100)
> 	at org.apache.activemq.transport.InactivityMonitor$1.run(InactivityMonitor.java:50)
> 	at org.apache.activemq.thread.Scheduler$SchedulerTimerTask.run(Scheduler.java:36)
> 	at java.util.TimerThread.mainLoop(Unknown Source)
> 	at java.util.TimerThread.run(Unknown Source)
> Caused by: org.apache.activemq.transport.InactivityIOException: Channel was inactive
for too long.
> 	... 5 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message