Re: Adding a third-party jar to the lib dir. disables logging ??!!

2013-09-02 Thread farhad
Ok. I just ran activemq in foreground (with console option), while I got my jar file under the lib. The attached file is what it spitted out. I cannot see any error or warning as such and everything seems to be working. But there is no logging to data/activemq.log. Regards, Farhad On Sep 2

Re: Adding a third-party jar to the lib dir. disables logging ??!!

2013-09-02 Thread farhad
Hi again, I just downloaded 5.8.0 and experienced the same problem. You may easily reproduce the problem by just copying a third party jar under the lib and restart activemq. Logging stops. Remove the jar, then you get logging back. The jar I'm using depends only on camel. Regards, F

Re: Adding a third-party jar to the lib dir. disables logging ??!!

2013-09-02 Thread farhad
tChannelConnector@0.0.0.0:8161 | org.eclipse.jetty.server.AbstractConnector | main === Regards, -Farhad On Sep 2, 2013, at 3:47 PM, gtully [via ActiveMQ] wrote: > activemq uses slf4j over log4j by default and picks up > log4j.configuration from ./conf/log4j.properties > > use -Dlog4j.

Adding a third-party jar to the lib dir. disables logging ??!!

2013-09-02 Thread farhad
ns in the activemq.xml which invokes the class in the jar. Apart from logging everything runs without any problem. I appreciate any help. Regards, Farhad Dehghani ActiveMQ: 5.6.0 java version: "1.6.0_51" OS: Mac osx -- View this message in context: http://activemq.2283324.n4.nabb

RemoteJMXBrokerFacade with failover

2012-03-14 Thread farhad
-factory returned by the broker-facade is always against the master, which is correct. I wonder if anyone else have experienced the same behavior? Environment: ActiveMQ broker 5.5 running on linux Bests, -Farhad D. -- View this message in context: http://activemq.2283324.n4.nabble.com

How to consume an already scheduled message

2012-01-10 Thread farhad
Suppose you have already scheduled a message to be delivered in an hour from now, using the schedulerSupport feature. But for some reason you decide to consume the message earlier. Is there any way to pick up the message even if it is already scheduled?! Regards, -Farhad -- View this message in

How to add additional resources to the maven-activemq-plugin's classpath

2011-12-07 Thread farhad
gin's classpath? I'd appreciate any help, -Farhad D. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-add-additional-resources-to-the-maven-activemq-plugin-s-classpath-tp4168964p4168964.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Using Amon with maven-activemq-plugin

2011-12-07 Thread farhad
Thank you Claus,That did the trick. Bests, -Farhad -- View this message in context: http://activemq.2283324.n4.nabble.com/Using-Amon-with-maven-activemq-plugin-tp4165185p4168128.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Using Amon with maven-activemq-plugin

2011-12-06 Thread farhad
ment from URL [file:/home/fade/projects/misc/activemq/amon/src/main/resources/META-INF/activemq.xml]; nested exception is java.lang.NoClassDefFoundError: org/apache/camel/component/event/EventEndpoint --- Below is my plugin definition together with the activemq.xml file: I'd

Re: Fail to acquire lock. Stays as "slave"

2011-07-05 Thread farhad
t activemq mean. The messages get persisted in the brokers database anyway. Regards, -Farhad -- View this message in context: http://activemq.2283324.n4.nabble.com/Fail-to-acquire-lock-Stays-as-slave-tp3643888p3645301.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Fail to acquire lock. Stays as "slave"

2011-07-04 Thread farhad
Hi Gary, Yes, I know, its very odd. But both jconsole and the log say that the broker is 'slave'!!? Regards, Farhad -- View this message in context: http://activemq.2283324.n4.nabble.com/Fail-to-acquire-lock-Stays-as-slave-tp3643888p3643961.html Sent from the ActiveMQ - User mailing li

Re: Fail to acquire lock. Stays as "slave"

2011-07-04 Thread farhad
| INFO | Failed to acquire lock. Sleeping for 1000 milli(s) before trying again... | org.apache.activemq.store.jdbc.DefaultDatabaseLocker | main . - I'd appreciate any help, -Farhad -- View this message in context: http://activemq.2283324.n4.nabble.com/Fail-to-acquire-lock-Stays-as-slave-tp3643888p3643900.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Fail to acquire lock. Stays as "slave"

2011-07-04 Thread farhad
rg.apache.activemq.store.jdbc.DefaultDatabaseLocker | main . ----- I'd appreciate any help, -Farhad -- View this message in context: http://activemq.2283324.n4.nabble.com/Fail-to-acquire-lock-Stays-as-slave-tp3643888p3643888.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.