activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: JMS tutorial using ActiveMQ ,Tomcat and Axis
Date Mon, 01 May 2006 08:55:01 GMT
On 4/29/06, yashhnb <yashvants@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/

Mime
View raw message