[
https://issues.apache.org/jira/browse/AMQ-5023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQ-5023.
-----------------------------
Resolution: Invalid
This is not a bug report. Questions should be directed to the mailing list.
> Upgrade from activeMq 5.7 to 5.9
> --------------------------------
>
> Key: AMQ-5023
> URL: https://issues.apache.org/jira/browse/AMQ-5023
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.9.0
> Reporter: Pankaj
> Priority: Blocker
>
> Hi,
> I am trying to upgrade my broker from 5.7 to 5.9 and my existing consumers
> using
> activemq-all-5.7.0.jar(http://mvnrepository.com/artifact/org.apache.activemq/activemq-all)
> started failing with following error:
> 2014-02-04 15:22:31,063 WARN
> org.springframework.jms.connection.CachingConnectionFactory:301 - Encountered
> a JMSException - resetting the underlying JMS Connection
> javax.jms.JMSException: Channel was inactive for too (>30000) long:
> http://localhost/
> at
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
> at
> org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1949)
> at
> org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1966)
> at
> org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101)
> at
> org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:126)
> at
> org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101)
> at
> org.apache.activemq.transport.AbstractInactivityMonitor.onException(AbstractInactivityMonitor.java:295)
> at
> org.apache.activemq.transport.AbstractInactivityMonitor$4.run(AbstractInactivityMonitor.java:209)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.activemq.transport.InactivityIOException: Channel was
> inactive for too (>30000) long: http://localhost/
> ... 4 more
> 2014-02-04 15:22:31,064 INFO
> org.springframework.jms.listener.DefaultMessageListenerContainer:893 -
> Successfully refreshed JMS Connection
> javax.jms.JMSException: Channel was inactive for too (>30000) long:
> http://localhost/
> at
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
> at
> org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1949)
> at
> org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1966)
> at
> org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101)
> at
> org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:126)
> at
> org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101)
> at
> org.apache.activemq.transport.AbstractInactivityMonitor.onException(AbstractInactivityMonitor.java:295)
> at
> org.apache.activemq.transport.AbstractInactivityMonitor$4.run(AbstractInactivityMonitor.java:209)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.activemq.transport.InactivityIOException: Channel was
> inactive for too (>30000) long: http://localhost/
> ... 4 more
> 2014-02-04 15:22:31,203 INFO
> org.apache.activemq.transport.http.HttpClientTransport:260 - Broker Servlet
> supports GZip compression.
> 2014-02-04 15:22:31,206 INFO
> org.springframework.jms.connection.CachingConnectionFactory:291 - Established
> shared JMS Connection: ActiveMQConnection
> {id=ID:pankajarora-PC-65176-1391555324715-2:10,clientId=null,started=false}
> Exception in thread "ActiveMQ Transport: HTTP Reader http://localhost/"
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException:
> No such field
> org.apache.activemq.command.ActiveMQTextMessage.jmsXGroupFirstForConsumer
> ---- Debugging information ----
> field : jmsXGroupFirstForConsumer
> class : org.apache.activemq.command.ActiveMQTextMessage
> required-type : org.apache.activemq.command.ActiveMQTextMessage
> converter-type :
> com.thoughtworks.xstream.converters.reflection.ReflectionConverter
> path :
> /org.apache.activemq.command.MessageDispatch/message/jmsXGroupFirstForConsumer
> line number : 148
> class[1] : org.apache.activemq.command.MessageDispatch
> version : null
> -------------------------------
> at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.determineType(AbstractReflectionConverter.java:453)
> at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:294)
> at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
> at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:355)
> at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:306)
> at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
> at
> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1058)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1042)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:913)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:904)
> at
> org.apache.activemq.transport.xstream.XStreamWireFormat.unmarshalText(XStreamWireFormat.java:53)
> at
> org.apache.activemq.transport.util.TextWireFormat.unmarshal(TextWireFormat.java:56)
> at
> org.apache.activemq.transport.http.HttpClientTransport.run(HttpClientTransport.java:190)
> at java.lang.Thread.run(Unknown Source)
> We have customers in production which consume messages using the old jar. Is
> broker 5.9.0 not compatible with 5.7.0 consumers? Interestingly, both 5.7.0
> and 5.9.0 producers are able to produce messages on 5.9.0 broker.
> Also when I move consumers to activemq-all-5.9.0.jar it works fine.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)