activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <>
Subject Re:Tomcat ActivemMQ Reconnect issue.
Date Mon, 25 Mar 2013 01:27:30 GMT
Hi, do you follow the steps listed by this page?
Did your try log4j.appender.jms.ProviderURL= failover:(tcp://YOUR_BROKER_IP:6161)

At 2013-03-24 10:11:22,vivekg <> wrote:
>We are using using Log4J (JMSAppender) + ActiveMQ for consolidating logs
>from different server instances.
>ActiveMQ listens on port 61616 for incoming log descriptions from various
>clients. Logs from two instances are put into ActiveMQ queue . I have added
>JMS appender to log4j properties files of client components. 
>Everything is working fine. The only problem is if ActiveMQ server goes
>down, the client disconnects and even if ActiveMQ  server comes up again
>within some time, the client never connects again and sends any further
>logs. (*getting javax.jms.IllegalStateException: The Session is closed*).
>Is there any way where log4j.appender property can be set on jms appenders
>where whenever the server is up again, it reconnects and starts sending
>messages again without doing a restart to client and establish connection
>I tried *failover Transport* . But found that my Tomcat server is not
>starting , whenever i use "failover" word in my
>Please help..
>Thanks & Regards, 
>View this message in context:
>Sent from the ActiveMQ - Dev mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message