You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Sun J Lee <su...@quadriserv.com> on 2006/05/23 14:35:34 UTC

version 4.0 stack trace

Hi all,

I got the following stack trace, but looks working though.
Can I safely ignore it?

javax.jms.JMSException: Transaction
'TX:ID:qsvat01t-56302-1148334368589-1:0:129' has not been started.
        at
org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:229)
        at
org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:188)
        at
org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:109)
        at
org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:97)
        at
org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:121)
        at
org.apache.activemq.broker.AbstractConnection.processMessage(AbstractConnection.java:346)
        at
org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:590)
        at
org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:196)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
        at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:88)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:70)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:139)
        at java.lang.Thread.run(Thread.java:536)



Regards,
Sun

--
View this message in context: http://www.nabble.com/version+4.0+stack+trace-t1668680.html#a4522195
Sent from the ActiveMQ - User forum at Nabble.com.


Re: version 4.0 stack trace

Posted by Eric Bruno <er...@ericbruno.com>.
Yes that's fine. When I wrote the book, I used ActiveMQ v2.1, and the samples
worked fine. Of course, it's always possible there could be a bug in my
sample code that was uncovered in newer versions of ActiveMQ. I'm going to
give all the samples a run with the latest ActiveMQ, which I'm using for a
new book I'm writing anyway.
--
View this message in context: http://www.nabble.com/version+4.0+stack+trace-t1668680.html#a4626539
Sent from the ActiveMQ - User forum at Nabble.com.


Re: version 4.0 stack trace

Posted by James Strachan <ja...@gmail.com>.
On 5/28/06, Eric Bruno <er...@ericbruno.com> wrote:
>
> I noticed your post. If you need some source from my book, just let me know.

Hi Eric

Sun has had some problems getting some of the examples from your book
working with ActiveMQ so I was wondering if we could reuse some of the
code as a JUnit test case inside the project to ensure that ActiveMQ
works properly with the code from your book?

-- 

James
-------
http://radio.weblogs.com/0112098/

Re: version 4.0 stack trace

Posted by Eric Bruno <er...@ericbruno.com>.
I noticed your post. If you need some source from my book, just let me know. 
-Eric
--
View this message in context: http://www.nabble.com/version+4.0+stack+trace-t1668680.html#a4596133
Sent from the ActiveMQ - User forum at Nabble.com.


Re: version 4.0 stack trace

Posted by Sun J Lee <su...@quadriserv.com>.
Hi James,

The book has a companion CD where the source is included.
I could send the examples, if you'd like to try to run.

I'm not sure I could add attachment, though.
Please let me know if there is any way to send attachment(codes).

Cheers,
Sun

--
View this message in context: http://www.nabble.com/version+4.0+stack+trace-t1668680.html#a4541457
Sent from the ActiveMQ - User forum at Nabble.com.


Re: version 4.0 stack trace

Posted by James Strachan <ja...@gmail.com>.
On 5/24/06, Sun J Lee <su...@quadriserv.com> wrote:
>
>
> Hi James,
>
> I tried to run examples from Eric Bruno's JSM messaging book, chapter 4
> when I encountered the stack trace.

Got a link to the examples?

-- 

James
-------
http://radio.weblogs.com/0112098/

Re: version 4.0 stack trace

Posted by Sun J Lee <su...@quadriserv.com>.

Hi James,

I tried to run examples from Eric Bruno's JSM messaging book, chapter 4
when I encountered the stack trace.

sun

--
View this message in context: http://www.nabble.com/version+4.0+stack+trace-t1668680.html#a4541274
Sent from the ActiveMQ - User forum at Nabble.com.


Re: version 4.0 stack trace

Posted by James Strachan <ja...@gmail.com>.
On 5/24/06, Sun J Lee <su...@quadriserv.com> wrote:
>
> Yes,
> It's very easy to reproduce.
>
> There are 3 applications:
>
>
>   App1   --->   Queue1   -->           App2          -->  Queue2    -->
> App3
>
>               <---   tempTopic1                              <--
> tempTopic2   <--

If you were to post a JUnit test case I'm sure your issue would be
dealt with sooner :)

http://incubator.apache.org/activemq/how-can-i-get-help.html
-- 

James
-------
http://radio.weblogs.com/0112098/

Re: version 4.0 stack trace

Posted by Sun J Lee <su...@quadriserv.com>.
Yes,
It's very easy to reproduce.

There are 3 applications:
 

  App1   --->   Queue1   -->           App2          -->  Queue2    -->             
App3  

              <---   tempTopic1                              <--      
tempTopic2   <--               



 Cheers,
Sun                                                                        
--
View this message in context: http://www.nabble.com/version+4.0+stack+trace-t1668680.html#a4540704
Sent from the ActiveMQ - User forum at Nabble.com.


Re: version 4.0 stack trace

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Is it easy to recreate?  If it is could you post a simple testcase
that causes it?

On 5/23/06, Sun J Lee <su...@quadriserv.com> wrote:
>
> Hi all,
>
> I got the following stack trace, but looks working though.
> Can I safely ignore it?
>
> javax.jms.JMSException: Transaction
> 'TX:ID:qsvat01t-56302-1148334368589-1:0:129' has not been started.
>         at
> org.apache.activemq.broker.TransactionBroker.getTransaction(TransactionBroker.java:229)
>         at
> org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:188)
>         at
> org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:109)
>         at
> org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:97)
>         at
> org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:121)
>         at
> org.apache.activemq.broker.AbstractConnection.processMessage(AbstractConnection.java:346)
>         at
> org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:590)
>         at
> org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:196)
>         at
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
>         at
> org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:88)
>         at
> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:70)
>         at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114)
>         at
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
>         at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:139)
>         at java.lang.Thread.run(Thread.java:536)
>
>
>
> Regards,
> Sun
>
> --
> View this message in context: http://www.nabble.com/version+4.0+stack+trace-t1668680.html#a4522195
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 
Regards,
Hiram