ActiveMQ ear deployed in jBoss - DB2 jdbc jar errors - Broker does not start

2009-12-02 Thread au.pg
Hi, When I use DB2 as database I am getting below errors and broker does not start. Caused by: com.ibm.db2.jcc.b.gm: [jcc][t4][2030][11211][3.50.152] A communication error occurred during operations on the connection's underlying s

Re: Broker goes down when database is restarted

2009-11-13 Thread au.pg
Hi Dejan, I am using ActiveMQ 5.3. Thanks, PG -- View this message in context: http://old.nabble.com/Broker-goes-down-when-database-is-restarted-tp26327953p26338023.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Broker goes down when database is restarted

2009-11-12 Thread au.pg
Hi, When I database is idle for too long or I manually restart database, broker is shutting down. Does it not automatically try to reconnect? Am I missing anything? I am setting validationQuery and testOnBorrow to true in broker-config.xml datasource bean. Do I need to do anything else to tell

Re: encrypt database password in broker-config.xml

2009-11-10 Thread au.pg
Hi, I just want to share how we can encrypt database password in broker-config.xml using jasypt. 1) Add spring name space xmlns:spring="http://www.springframework.org/schema/beans"; 2) define below two beans 3) you can see that password declared in activemq-pwd.

How to avoid ActiveMQ rar and webapp jar collision

2009-11-05 Thread au.pg
When I integrate activemq as JCA adaptor as mentioned I see below error - 2009-11-05 12:07:38,671 [main] WARN org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver () - Ignoring namespace handler [org.apache.xbean.spring.context.v2.XBeanNamespaceHandler]: problem with handler clas

Re: encrypt database password in broker-config.xml

2009-10-21 Thread au.pg
Hi Serge, This is Awesome. This is what we finally figured out and doing using jasypt. I greatly appreciate your reply. Great Post! Thanks, PG -- View this message in context: http://www.nabble.com/encrypt-database-password-in-broker-config.xml-tp25966501p26002811.html Sent from the ActiveM

encrypt database password in broker-config.xml

2009-10-19 Thread au.pg
Hi, I want to store encrypted database password in broker-config.xml file? Is there a way that activemq correctly decrypts while connecting to database. Thanks, PG -- View this message in context: http://www.nabble.com/encrypt-database-password-in-broker-config.xml-tp25966501p25966501.html Se