2008/10/28 James Strachan <[EMAIL PROTECTED]>: > 2008/10/28 selezovikj <[EMAIL PROTECTED]>: >> >> PROBLEM FOUND !!! >> >> I wrote a simple client connecting to my activemq broker using the failover >> transport and it worked. >> Then I started adding the jar files that my bigger project uses, and at one >> point the same problem appeared: it was saying attempting to connect for >> hours. >> After some adding and removing of jar files, I saw that the problem causing >> this is the commons-logging-1.1.jar file. >> When I add that jar file the failover transport is useless. >> Any idea why this is so ? > > Did you get any kind of stack trace?
Ah - are you using the log4j JMS appender? Thats gonna cause a cyclical dependency - logging cant' start until you're connected to JMS etc. Make sure you don't use the JMS appender for ActiveMQ :) -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/