activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selezovikj <>
Subject Re: Commons-logging conflict with failover
Date Tue, 04 Nov 2008 16:22:45 GMT

System.out.println("before declaration");
final Log log = LogFactory.getLog("MSGSTATS");
System.out.println("after declaration");

"after declaration" is never printed out. 

So commons-logging initializes a Log, which initializes log4j by reading the file, then in the MSGSTATS the JMS
appender is started, which then tries to connect to localhost:61617 with
failover. Failover wants to log with commons-logging but blocks and just
says that it attempts to connect BECAUSE it is not connected yet and cannot
log if not connected. 

Any way to tell failover to not block/log ? 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message