You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by James Strachan <ja...@gmail.com> on 2006/05/01 10:55:01 UTC

Re: JMS tutorial using ActiveMQ ,Tomcat and Axis

On 4/29/06, yashhnb <ya...@halosys.com> wrote:
>
> Hi Thanks for kind help.
>
> now i can start do develope how message send and receive.
>
> but some times i have got error message when i run console base producer and
> consumer
>
> [java] WARN  ActiveMQConnection             - Cleanup failed
>      [java] org.apache.activemq.ConnectionClosedException: The connection is
> already closed

The exception tells you whats actually happening. The transport thread
is trying to close itself down after an exception has occurred but
another thread (probably your program) has already closed the
connection.

James


>      [java]     at
> org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1030)
>      [java]     at
> org.apache.activemq.ActiveMQConnection.cleanup(ActiveMQConnection.java:1191)
>      [java]     at
> org.apache.activemq.ActiveMQConnection.transportFailed(ActiveMQConnection.java:1585)
>      [java]     at
> org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1338)
>      [java]     at
> org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:102)
>      [java]     at
> org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:102)
>      [java]     at
> org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:102)
>      [java]     at
> org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:90)
>      [java]     at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:149)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>
> can you help me ?
>
> thanks
>
> --
> View this message in context: http://www.nabble.com/JMS-tutorial-using-ActiveMQ-%2CTomcat-and-Axis-t1525151.html#a4151737
> Sent from the ActiveMQ - Dev forum at Nabble.com.
>
>


--

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