activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Hang when try to close JMS session
Date Thu, 10 May 2007 15:29:18 GMT
On 5/10/07, Steven Li <> wrote:
> My Application use ActiveMQ 4.1.1, the following problem regularly happens
> every two days:
> Faill to publish the JMS message. The warning messsgae is something like
> "WARNING : AcitveMQ Connection Worker:  tcp:///
> Then my application try to recreate a connection. Before trying to recreate
> a new connection, we try to close the current session and connection first.
> However, it hangs (no return from the close() call) when call the
> session.close(), thus cause my application hangs.
> Any idea?

It shoulds like a socket is being dropped. If you use failover it will
automatically reconnect for you so you don't have to try close the

View raw message