On 5/10/07, Steven Li <[EMAIL PROTECTED]> 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:///10.34.130.82:61616. 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 session/connection http://activemq.apache.org/how-can-i-support-auto-reconnection.html -- James ------- http://macstrac.blogspot.com/
