activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: AMQ with CMS compatibility
Date Mon, 06 Dec 2010 13:25:28 GMT
On Mon, 2010-12-06 at 04:05 -0800, lucious_77 wrote:
> Hi,
> 
> I've been running AMQ 5.3.X with CPP 3.1.x for a while and it works quite
> fine except for some problems with temp-queue and temp-topics:
> https://issues.apache.org/jira/browse/AMQ-2657 
> 
> Today I downloaded new AMQ 5.4.2 keeping the same CMS 3.1.x ... here is what
> I get from activemq log file from time to time:
> 
>  INFO | Transport failed: java.io.EOFException
>  WARN | Async error occurred: java.lang.IllegalStateException: Cannot remove
> a producer that had not been registered:
> 5d43c9f0-b024-0854-007a-c26e24d9fe92:0:0
> java.lang.IllegalStateException: Cannot remove a producer that had not been
> registered: 5d43c9f0-b024-0854-007a-c26e24d9fe92:0:0
>         at
> org.apache.activemq.broker.TransportConnection.processRemoveProducer(TransportConnection.java:532)
>         at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:78)
>         at
> org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:311)
>         at
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
>         at
> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
>         at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
>         at
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:228)
>         at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:220)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202)
>         at java.lang.Thread.run(Thread.java:619)
> 
> the same time one of my producers goes down with such exception:
> 
> *** BEGIN SERVER-SIDE STACK TRACE ***
> Message: The destination temp-queue://964cad9f-fc57-91e7-d9fd-98f67bc45295:0
> does not exist.
> Exception Class javax.jms.JMSException
>         [FILE: AbstractRegion.java, LINE: 135] occurred in:
> org.apache.activemq.broker.region.AbstractRegion.addDestination
>         [FILE: RegionBroker.java, LINE: 304] occurred in:
> org.apache.activemq.broker.region.RegionBroker.addDestination
>         [FILE: BrokerFilter.java, LINE: 145] occurred in:
> org.apache.activemq.broker.BrokerFilter.addDestination
>         [FILE: BrokerFilter.java, LINE: 145] occurred in:
> org.apache.activemq.broker.BrokerFilter.addDestination
>         [FILE: MutableBrokerFilter.java, LINE: 151] occurred in:
> org.apache.activemq.broker.MutableBrokerFilter.addDestination
>         [FILE: RegionBroker.java, LINE: 396] occurred in:
> org.apache.activemq.broker.region.RegionBroker.addProducer
>         [FILE: CompositeDestinationBroker.java, LINE: 56] occurred in:
> org.apache.activemq.broker.CompositeDestinationBroker.addProducer
>         [FILE: BrokerFilter.java, LINE: 93] occurred in:
> org.apache.activemq.broker.BrokerFilter.addProducer
>         [FILE: MutableBrokerFilter.java, LINE: 99] occurred in:
> org.apache.activemq.broker.MutableBrokerFilter.addProducer
>         [FILE: TransportConnection.java, LINE: 511] occurred in:
> org.apache.activemq.broker.TransportConnection.processAddProducer
>         [FILE: ProducerInfo.java, LINE: 105] occurred in:
> org.apache.activemq.command.ProducerInfo.visit
>         [FILE: TransportConnection.java, LINE: 311] occurred in:
> org.apache.activemq.broker.TransportConnection.service
>         [FILE: TransportConnection.java, LINE: 185] occurred in:
> org.apache.activemq.broker.TransportConnection$1.onCommand
>         [FILE: TransportFilter.java, LINE: 69] occurred in:
> org.apache.activemq.transport.TransportFilter.onCommand
>         [FILE: WireFormatNegotiator.java, LINE: 113] occurred in:
> org.apache.activemq.transport.WireFormatNegotiator.onCommand
>         [FILE: InactivityMonitor.java, LINE: 228] occurred in:
> org.apache.activemq.transport.InactivityMonitor.onCommand
>         [FILE: TransportSupport.java, LINE: 83] occurred in:
> org.apache.activemq.transport.TransportSupport.doConsume
>         [FILE: TcpTransport.java, LINE: 220] occurred in:
> org.apache.activemq.transport.tcp.TcpTransport.doRun
>         [FILE: TcpTransport.java, LINE: 202] occurred in:
> org.apache.activemq.transport.tcp.TcpTransport.run
>         [FILE: Thread.java, LINE: 619] occurred in: java.lang.Thread.run
> *** END SERVER-SIDE STACK TRACE ***
>         FILE: activemq/core/ActiveMQConnection.cpp, LINE: 622
>         FILE: activemq/core/ActiveMQConnection.cpp, LINE: 628
>         FILE: activemq/core/ActiveMQSession.cpp, LINE: 1036
>         FILE: activemq/core/ActiveMQSession.cpp, LINE: 443
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb65c8910 (LWP 18287)]
> 0xb7f6b57c in CMSMessageProducer::send (this=0xbfffe250, msg=@0xbfffe3e4) at
> src/cmsmessageproducer.cpp:75
> 75          d->cms_producer->send(msg.d->cms_message);
> (gdb) bt
> #0  0xb7f6b57c in CMSMessageProducer::send (this=0xbfffe250,
> msg=@0xbfffe3e4) at src/cmsmessageproducer.cpp:75
> #1  0xb7f80784 in Utils::sendResponse (this=0xbfffe428, msg=@0xbfffe3e4) at
> utils.cpp:50
> #2  0x0805d344 in OmsOrderBook::dispatch (this=0xbfffec60,
> msg={_vptr.CMSMessage = 0xbfffe610, d = 0x4}) at omsorderbook.cpp:26
> 
> 
> Does this mean that 3.1.x is not compatible with AMQ 5.4.x ? or something
> else can be wrong?
> 
> Thx,
> M. 

Without a sample to show what your client is doing with the code its
hard to make a determination on what the issue could be.  I'd recommend
that you move to the latest CMS 3.2.3 release as there have been several
issues fixed since then that affect client side stability and memory
usage.

Regards


-- 
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/



Mime
View raw message