Hi Tim, I can't recall any changes regarding Stomp and transactions between 5.1 and 5.2. Can you post a test case you are using?
Cheers -- Dejan Bosanac http://www.ttmsolutions.com - get a free ActiveMQ user guide ActiveMQ in Action - http://www.manning.com/snyder/ Scripting in Java - http://www.scriptinginjava.net Timothy Bish wrote: > I've been testing the RC2 binary against ActiveMQ-CPP, unlike the 5.1.0 > version I'm seeing fails in our Stomp Transaction tests sporadically. > On some runs its fine, on other I see errors on the Broker side which > I've attached below, I don't ever see these with the previous release. > > ERROR Service - Async error occurred: > java.lang.NullPointerException > java.lang.NullPointerException > at > org.apache.activemq.broker.TransactionBroker.beginTransaction(TransactionBroker.java:153) > at > org.apache.activemq.broker.BrokerFilter.beginTransaction(BrokerFilter.java:130) > at > org.apache.activemq.broker.BrokerFilter.beginTransaction(BrokerFilter.java:130) > at > org.apache.activemq.broker.MutableBrokerFilter.beginTransaction(MutableBrokerFilter.java:137) > at > org.apache.activemq.broker.TransportConnection.processBeginTransaction(TransportConnection.java:370) > at > org.apache.activemq.command.TransactionInfo.visit(TransactionInfo.java:94) > at > org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305) > at org.apache.activemq.broker.TransportConnection > $1.onCommand(TransportConnection.java:179) > at > org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68) > at > org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:78) > at > org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:135) > at > org.apache.activemq.transport.stomp.ProtocolConverter.onStompBegin(ProtocolConverter.java:315) > at > org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommad(ProtocolConverter.java:177) > at > org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:67) > at > org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84) > at > org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:203) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185) > at java.lang.Thread.run(Thread.java:619) > ERROR Service - Async error occurred: > javax.jms.JMSException: Transaction > 'TX:ID:office-60008-1226083222022-4:1:2' has not been started. > javax.jms.JMSException: Transaction > 'TX:ID:office-60008-1226083222022-4:1:2' has not been started. > at > org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:270) > at > org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:208) > at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:126) > at > org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:95) > at > org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:133) > at > org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:450) > at > org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:639) > at > org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305) > at org.apache.activemq.broker.TransportConnection > $1.onCommand(TransportConnection.java:179) > at > org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68) > at > org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:78) > at > org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:135) > at > org.apache.activemq.transport.stomp.ProtocolConverter.onStompSend(ProtocolConverter.java:246) > at > org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommad(ProtocolConverter.java:173) > at > org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:67) > at > org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84) > at > org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:203) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185) > at java.lang.Thread.run(Thread.java:619) > > > On Thu, 2008-11-06 at 12:33 +0000, Gary Tully wrote: > >> Hi Everyone, >> >> I've cut a new release candidate for 5.2.0 >> >> There are an additional 25 resolved issues since RC2: >> https://issues.apache.org/activemq/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?&query=%22These+fixes+will+now+make+5.2.0+rc3%22&body=true&pid=10520&fixfor=11841&status=5&tempMax=1000 >> >> Could you guys review the release artifacts and vote? >> >> The release notes are here: >> http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+5.2.0+Release >> >> You can get the binary distributions here: >> http://people.apache.org/~gtully/staging-repos/activemq-5.2.0/org/apache/activemq/apache-activemq/5.2.0 >> >> The Maven2 repository is at: >> http://people.apache.org/~gtully/staging-repos/activemq-5.2.0 >> >> The Maven generated website for this version is at: >> http://people.apache.org/~gtully/staging-sites/activemq-5.2.0/maven/5.2.0 >> >> Source SVN tag: >> http://svn.apache.org/viewvc/activemq/tags/activemq-5.2.0 >> >> Please vote to approve this release binary >> >> [ ] +1 Release the binary as Apache ActiveMQ 5.2.0 >> [ ] -1 Veto the release (provide specific comments) >> >> Here's my +1 >> > > >
