activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aviadLich <>
Subject Re: Disconnection problem
Date Mon, 10 Apr 2006 13:58:38 GMT

i am using amq 4.0 RC2
i currently ran the scenario on 2 windows xp pro (but i intend to do so with
fedora as well)
i couldnt get any logs on the agent side (this is were the disconnection
i put a conf directory in the agent classpath - this is how the relevant
part of the classpath looks like:

set PRE_CLASSPATH=%ACTIVE_PATH%/log4j-1.2.12.jar;./conf

there i left only a the "" file (i removed the activemq.xml
in the properties file i commented all the first section and uncommecnted
the following line:
log4j.rootLogger=DEBUG, out, stdout

the rest of the file remained untouched.

during the disconnection i didnt get any logs to stdout.
i dont have an exception listener in my code. 

rajdavies wrote:
>>This is a useful scenario - what platform  are you on and which  
>>version of amq 4.0 are you using ?
>>Would it be possible to run your test again with debug logging on and  
>>post the log to the list ?
>>On 9 Apr 2006, at 09:10, aviadLich wrote:
>>>i have seen the link you sent. Thanks for the quick replay
>>> trying it it didnt really work.
>>> i created a ConnectionFactory with the parameter
>>> "failover:tcp://"
>>> new ActiveMQConnectionFactory("failover:tcp://");
>>> it did connect the broker for the first time and put htere a  
>>> message in the
>>> queue
>>> but after the disconnection (i unplagged the network cable of the  
>>> remote
>>> agent).
>>> the layer did exit !?!? (no exceptions this time)
>>> i should say that i dont want my agent to connect to another broker  
>>> i only
>>> want it to wait for the connection for the first broker
>>> --
>>> View this message in context: 
>>> problem-t1407111.html#a3826013
>>> Sent from the ActiveMQ - User forum at

View this message in context:
Sent from the ActiveMQ - User forum at

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