activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huanghwh <...@gddsn.org.cn>
Subject ActivemMQ 4.1.0 ra have problem?
Date Tue, 20 Mar 2007 12:02:45 GMT

I have use ActiveMQ4.1.0+JBoss4.0.5, I send some message to activemq, and I
got  these problem. 
Exception in thread "jmsSender"
org.springframework.jms.UncategorizedJmsException: Uncategorized exception
occured during JMS processing; nested exception is javax.jms.JMSException:
Index: 0, Size: 0
Caused by: javax.jms.JMSException: Index: 0, Size: 0
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:46)
        at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1154)
        at
org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1550)
        at
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:462)
        at
org.apache.activemq.pool.PooledProducer.send(PooledProducer.java:75)
        at
org.apache.activemq.pool.PooledProducer.send(PooledProducer.java:60)
        at
org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:535)
        at
org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:511)
        at
org.springframework.jms.core.JmsTemplate$2.doInJms(JmsTemplate.java:477)
        at
org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:428)
        at
org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:475)
        at cn.org.gddsn.liss.server.JmsSender.send(JmsSender.java:164)
        at cn.org.gddsn.liss.server.JmsSender.send(JmsSender.java:151)
        at cn.org.gddsn.liss.server.JmsSender.run(JmsSender.java:127)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at
edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList.remove(CopyOnWriteArrayList.java:346)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.getExistingServerSession(ServerSessionPoolImpl.java:159)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.getServerSession(ServerSessionPoolImpl.java:114)
        at
org.apache.activemq.ActiveMQConnectionConsumer.dispatch(ActiveMQConnectionConsumer.java:136)
        at
org.apache.activemq.ActiveMQConnection.onCommand(ActiveMQConnection.java:1473)
        at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:95)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65)
        at
org.apache.activemq.transport.vm.VMTransport.syncOneWay(VMTransport.java:96)
        at
org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java:83)
        at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:43)
        at
org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorrelator.java:60)
        at
org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1051)
        at
org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:772)
        at
org.apache.activemq.broker.TransportConnection.dispatchSync(TransportConnection.java:749)
        at
org.apache.activemq.broker.region.TopicSubscription.dispatch(TopicSubscription.java:362)
        at
org.apache.activemq.broker.region.TopicSubscription.add(TopicSubscription.java:83)
        at
org.apache.activemq.broker.region.policy.SimpleDispatchPolicy.dispatch(SimpleDispatchPolicy.java:51)
        at org.apache.activemq.broker.region.Topic.dispatch(Topic.java:413)
        at org.apache.activemq.broker.region.Topic.send(Topic.java:260)
        at
org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:292)
        at
org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:380)
        at
org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:193)
        at
org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:126)
        at
org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:98)
        at
org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:136)
        at
org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:480)
        at
org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:604)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:284)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:177)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:133)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:137)
        ... 1 more

I am not sure if it is activeAM-ra problem ?  How can I solve it ?


--hwh


-- 
View this message in context: http://www.nabble.com/ActivemMQ-4.1.0-ra-have-problem--tf3433257s2354.html#a9571007
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message