activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yaswanth <yaswanth.m...@gmail.com>
Subject Re: Invalid Session state
Date Thu, 15 Nov 2007 10:40:42 GMT

Can someone tell how this problem can be solved ? 

Thanks 
Yaswanth 


Francesco Vivoli wrote:
> 
> Hi all
> 
> on high memory usage I randomly get these exceptions:
> 
> 2007-03-29 13:14:32,574 [ool-1-thread-64] ERROR ActiveMQSession               
> - error dispatching message: 
> org.springframework.jms.UncategorizedJmsException: Uncategorized exception
> occured during JMS processing; nested exception is javax.jms.JMSException:
> Wire format negociation timeout: peer did not send his wire format.;
> nested exception is java.io.IOException: Wire format negociation timeout:
> peer did not send his wire format.
> Caused by: 
> javax.jms.JMSException: Wire format negociation timeout: peer did not send
> his wire format.
>         at
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:58)
>         at
> org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1185)
>         at
> org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1263)
>         at
> org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:276)
>         at
> org.apache.activemq.ra.ManagedConnectionProxy.createSessionProxy(ManagedConnectionProxy.java:116)
>         at
> org.apache.activemq.ra.ManagedConnectionProxy.createSession(ManagedConnectionProxy.java:106)
>         at
> org.springframework.jms.core.JmsTemplate.createSession(JmsTemplate.java:826)
>         at
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:420)
>         at
> org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:476)
>         at
> org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:557)
>         at
> org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:548)
>         at net.ripe.hstcnt.jms.Stage1.send(Stage1.java:49)
>         at net.ripe.hstcnt.jms.Stage1.onMessage(Stage1.java:34)
>         at
> net.ripe.hstcnt.jms.AbstractStage.onMessage(AbstractStage.java:44)
>         at
> org.jencks.LocalTransactionEndpoint.onMessage(LocalTransactionEndpoint.java:68)
>         at
> org.jencks.LocalTransactionEndpoint.onMessage(LocalTransactionEndpoint.java:68)
>         at
> org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:121)
>         at
> org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:61)
>         at
> org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:696)
>         at
> org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:165)
>         at
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
>         at
> org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: Wire format negociation timeout: peer did
> not send his wire format.
>         at
> org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:88)
>         at
> org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:47)
>         at
> org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:69)
>         at
> org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:74)
>         at
> org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1175)
>         ... 22 more
> 
> 
> 
> And all my threads are staying like this (resulting in no more messages
> being consumed):
> 
> Name: pool-1-thread-9
> State: WAITING on
> edu.emory.mathcs.backport.java.util.concurrent.locks.CondVar@3684eb
> Total blocked: 120  Total waited: 1,972
> 
> Stack trace: 
> java.lang.Object.wait(Native Method)
> java.lang.Object.wait(Object.java:485)
> edu.emory.mathcs.backport.java.util.concurrent.locks.CondVar.await(CondVar.java:75)
> edu.emory.mathcs.backport.java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:318)
> org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:42)
> org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:75)
> org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1175)
> org.apache.activemq.TransactionContext.commit(TransactionContext.java:261)
> org.apache.activemq.ra.LocalAndXATransaction.commit(LocalAndXATransaction.java:58)
> org.jencks.LocalTransactionEndpoint.afterDelivery(LocalTransactionEndpoint.java:52)
> org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.afterDelivery(MessageEndpointProxy.java:126)
> org.apache.activemq.ra.MessageEndpointProxy.afterDelivery(MessageEndpointProxy.java:65)
> org.apache.activemq.ra.ServerSessionImpl.afterDelivery(ServerSessionImpl.java:216)
> org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:751)
> org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:165)
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
> org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> java.lang.Thread.run(Thread.java:619)
> 
> 
> I'd like some feedback on this...thanks!
> Francesco
> 
> 

-- 
View this message in context: http://www.nabble.com/Invalid-Session-state-tf3485773s2354.html#a13765112
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message