activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <suonayi2...@163.com>
Subject Re:ConnectionFailedException with ActiveMQ 5.6, Camel2.10, JBoss5.1
Date Wed, 20 Feb 2013 05:21:50 GMT
Seems the connection is closed by broker and you still use the broken connection.

You can use FailoverTransport[1] to handle this situation.
[1]http://activemq.apache.org/failover-transport-reference.html

At 2013-02-20 11:53:51,nakshathri <manjunatha.n@happiestminds.com> wrote:
>Hello All, Since last week we have been facing issue while consuming messages
>from Active MQs. Here is the snapshot of the environment.JBoss 5.1 Camel
>2.10.0 Spring 3.1.2.Release activemq-all 5.6.0 (Run time Active MQ Broker
>version apache-activemq-5.7.0)Below is the server stacktrace
>:org.apache.activemq.ConnectionFailedException: The JMS connection has
>failed: java.io.EOFException at
>org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)
>at
>org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:168)
>at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:469) at
>org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:543) at
>org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:620)
>at
>org.common.JmsTemplateComponent$JmsTemplateProcessor.process(JmsTemplateComponent.java:140)
>at
>org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:101)
>at
>org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:71)
>at
>org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
>at
>org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>at
>org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:120)
>at
>org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:292)
>at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:115)
>at
>org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>at
>org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>at
>org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>at
>org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
>at
>org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>at
>org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>at
>org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>at
>org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>at
>org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>at
>org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>at org.apache.camel.processor.Pipeline.process(Pipeline.java:117) at
>org.apache.camel.processor.Pipeline.process(Pipeline.java:80) at
>org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>at
>org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
>at
>org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
>at
>org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>at
>org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>at
>org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>at
>org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>at
>org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
>at
>org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:134)
>at
>org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:63)
>at java.util.TimerThread.mainLoop(Timer.java:512) at
>java.util.TimerThread.run(Timer.java:462) Caused by:
>org.apache.activemq.ConnectionFailedException: The JMS connection has
>failed: java.io.EOFException at
>org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1436)
>at
>org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:307)
>at sun.reflect.GeneratedMethodAccessor1545.invoke(Unknown Source) at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:597) at
>org.springframework.jms.connection.SingleConnectionFactory$SharedConnectionInvocationHandler.invoke(SingleConnectionFactory.java:550)
>at $Proxy548.createSession(Unknown Source) at
>org.springframework.jms.support.JmsAccessor.createSession(JmsAccessor.java:196)
>at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:457)
>... 43 more Caused by: java.io.EOFException at
>java.io.DataInputStream.readInt(DataInputStream.java:375) at
>org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:275)
>at
>org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:229)
>at
>org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:221)
>at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:204)
>at java.lang.Thread.run(Thread.java:619)During this error, we can see below
>warning messages in the Active MQ log : WARN  | Transport Connection to:
>tcp://host:40890 failed: java.net.SocketException: Software caused
>connection abort: recv failed |
>org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
>Transport: tcp:///host:40890@61616This problem will vanish only after JBoss
>Server and active MQ restart. We are already in production and really
>appreciate any help to resolve this issue . Thanks.
>
>
>
>--
>View this message in context: http://activemq.2283324.n4.nabble.com/ConnectionFailedException-with-ActiveMQ-5-6-Camel2-10-JBoss5-1-tp4663755.html
>Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message