You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Kevin W Edwards (JIRA)" <ji...@apache.org> on 2007/10/31 15:38:23 UTC

[jira] Created: (AMQ-1482) Channel was inactive for too long.

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.


Re: [jira] Closed: (AMQ-1482) Channel was inactive for too long.

Posted by "pleaseHelpMe:o)" <ja...@gmail.com>.
Did anybody fix this problem or find a solution using latest 5.1.0 broker?  I
have this problem and haven't found a way to make it go away.  If I keep the
number of messages down, the problem does not show up, if I increase the
number of java threads that I am using to send and receive messages, after a
short time I see the Channel was inactive for too long. message and updates
stop occurring.  Has anybody been able to overcome this message by changing
configuration parameters or something?

I basically use default config in activeMQ.xml, with 2 clients, connected to
separate brokers, while the brokers are networkConnected together using
static IP setting.  The messages pass well between the networkConnector, and
get to the clients who expect them, but when the messages increase, I see
the Channel inactive error that seems similar to what people have reported
in this post.  I want to send a large number of messages in a short time if
possible, i.e. hundreds of thousands of messages.

Thanks,
JB

JIRA jira@apache.org wrote:
> 
> 
>      [
> https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
> 
> Kevin W Edwards closed AMQ-1482.
> --------------------------------
> 
>     Resolution: Fixed
> 
> I believe this was a config/setup error
> 
>> 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.1.0
>>         Environment: Windows XP, Eclipse, OSGi 
>>            Reporter: Kevin W Edwards
>>            Assignee: Rob Davies
>>            Priority: Critical
>>
>> 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.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-jira--Created%3A-%28AMQ-1482%29-Channel-was-inactive-for-too-long.-tp13510875p18074806.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42838#action_42838 ] 

Rob Davies commented on AMQ-1482:
---------------------------------

I can't reproduce this - is it now fixed?

> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Assignee: Rob Davies
>            Priority: Critical
>
> 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.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42277#action_42277 ] 

Rob Davies commented on AMQ-1482:
---------------------------------

I can't reproduce this on the latest 5.1 snapshot  - please provide a junit test case.
There's been a lot of work in this area recently - so I'm keen to verify that it is fixed or still an issue

> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Assignee: Rob Davies
>            Priority: Critical
>
> 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.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "Klaus Kurz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43364#action_43364 ] 

Klaus Kurz commented on AMQ-1482:
---------------------------------

Info:

- I am sending continous ~300 msg/sec over the ActiveMQ for log shipping.
- with the 5.0.0 version I got...
{{
   WARN  ActiveMQConnection - Async exception with no exception listener: org.apache.activemq.transport.InactivityIOException: 
   Channel was inactive for too long: /x.x.x.x:61616
   org.apache.activemq.transport.InactivityIOException: Channel was inactive for too long: /x.x.x.x:61616
           at org.apache.activemq.transport.InactivityMonitor$4.run(InactivityMonitor.java:108)
   WARN  ActiveMQConnection - Async exception with no exception listener: java.net.SocketException: Socket closed
   java.net.SocketException: Socket closed
   ...
}}
after some minutes runtime.

- with version 5.1.0 it is running now for 14 hours without this error.



> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Assignee: Rob Davies
>            Priority: Critical
>
> 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.


[jira] Updated: (AMQ-1482) Channel was inactive for too long.

Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Snyder updated AMQ-1482:
------------------------------

    Priority: Critical  (was: Major)

> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Priority: Critical
>
> 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.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "Justin Pitts (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42839#action_42839 ] 

Justin Pitts commented on AMQ-1482:
-----------------------------------

I have reproduced it on 5.1, using the PooledConnectionFactory in conjuntion with Spring's SimpleMessageListenerContainer. If I dont use the PooledConnectionFactory, I don't see the inactivity issue. 


> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Assignee: Rob Davies
>            Priority: Critical
>
> 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.


[jira] Assigned: (AMQ-1482) Channel was inactive for too long.

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies reassigned AMQ-1482:
-------------------------------

    Assignee: Rob Davies

> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Assignee: Rob Davies
>            Priority: Critical
>
> 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.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "Kevin Yaussy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42342#action_42342 ] 

Kevin Yaussy commented on AMQ-1482:
-----------------------------------

Please see AMQ-1671, as it may be related?


> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Assignee: Rob Davies
>            Priority: Critical
>
> 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.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "Denis Abramov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41367#action_41367 ] 

Denis Abramov commented on AMQ-1482:
------------------------------------

Not true, I just checked SNAPSHOT 5.1 and issue is still there

> 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.


[jira] Updated: (AMQ-1482) Channel was inactive for too long.

Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Snyder updated AMQ-1482:
------------------------------

    Affects Version/s: 5.1.0
                           (was: 5.0.0)

> 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.1.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.


[jira] Closed: (AMQ-1482) Channel was inactive for too long.

Posted by "Kevin W Edwards (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin W Edwards closed AMQ-1482.
--------------------------------

    Resolution: Fixed

I believe this was a config/setup error

> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Assignee: Rob Davies
>            Priority: Critical
>
> 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.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "Jeremy Haile (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44361#action_44361 ] 

Jeremy Haile commented on AMQ-1482:
-----------------------------------

Kevin, can you please share what the config/setup error was?  We are experiencing this problem on 5.1.0 using the PooledConnectionFactory: 

[09:36:37,011,LoggingSimpleMappingExceptionResolver] An Unexpected Error has occured 
org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Channel was inactive for too long: localhost/127.0.0.1:61616; nested exception is org.apache.activemq.transport.InactivityIOException: Channel was inactive for too long: localhost/127.0.0.1:61616 
    	at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:289) 
    	at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:172) 
    	at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:450) 
    	at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:514) 
    	at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:624) 
    	at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:612) 
    	at wildfire.event.JmsEventPublisher.publish(JmsEventPublisher.java:99) 

> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Assignee: Rob Davies
>            Priority: Critical
>
> 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.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "George Daswani (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41971#action_41971 ] 

George Daswani commented on AMQ-1482:
-------------------------------------

This issue is definitely still there.  Just tried the latest 5.1 snapshot available - apache-activemq-5.1-20080401.230627-74.tar.gz    and the following error still on a client after a while

Channel was inactive for too long: machine/192.168.1.10:61616
	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
	at org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1670)
	at org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1687)
	at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:99)
	at org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:114)

> 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.1.0
>         Environment: Windows XP, Eclipse, OSGi 
>            Reporter: Kevin W Edwards
>            Priority: Critical
>
> 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.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "Kevin W Edwards (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (AMQ-1482) Channel was inactive for too long.

Posted by "Sébastien Bucci (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41195#action_41195 ] 

Sébastien Bucci commented on AMQ-1482:
--------------------------------------

I don't know if i can close this issue.
But in the current SNAPSHOT 5.1, it's resolved.

> 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.