AMQ stops after few days running successfully

2009-06-16 Thread Raj_New
I am using AMQ5.2 through embedded broker in my application. activeMQ file has the db2 type 4 driver. After running fine for few days, I get following error on console. To make my application work again I have to restart my application. Is there any way by which AMQ will come up automatically afte

Re: [ActiveMQ Cleanup Timer] (org.apache.activemq.store.jdbc.DefaultDatabaseLocker:keepAlive:123) - Failed to update database lock:

2009-04-27 Thread Raj_New
} catch (SQLException e) { LOG.error("Failed to close statement",e); } } } return result; } Raj_New wrote: > > I am getting this error using embedded broker of AMQ5.2 which is causing > to shut down the broker. D

[ActiveMQ Cleanup Timer] (org.apache.activemq.store.jdbc.DefaultDatabaseLocker:keepAlive:123) - Failed to update database lock:

2009-04-27 Thread Raj_New
I am getting this error using embedded broker of AMQ5.2. Database driver is db2. please suggest me how could I remove this error. I hope their are some configuration enteries that I am missing in activemq.xml. [4/26/09 20:13:19:769 CDT] 002f SystemOut O ERROR [ActiveMQ Cleanup Timer] (org

Re: Embedded Broker shuts down automatically AMQ5.2

2009-04-09 Thread Raj_New
>> -- >> Dejan Bosanac >> >> Open Source Integration - http://fusesource.com/ >> ActiveMQ in Action - http://www.manning.com/snyder/ >> Blog - http://www.nighttale.net >> >> >> On Thu, Apr 9, 2009 at 11:13 AM, Raj_New wrote: >> >> > >

Re: Embedded Broker shuts down automatically AMQ5.2

2009-04-09 Thread Raj_New
I know my above message is really lenthySorry but I need answer for this behaviour of AMQ...why its work fine for couple of days and then suddenly breaks down. -- View this message in context: http://www.nabble.com/Embedded-Broker-shuts-down-automatically-AMQ5.2-tp22965564p22967169.html S

AMQ5.2 : Embedded broker stops

2009-04-06 Thread Raj_New
I am using AMQ5.2 embedded broker in my applicaton. The broker starts fine with application and I am able to send and recieve messages. But after some time say 10 to 12 hours or some times after a day I got following error... [4/5/09 19:04:15:149 CDT] 0430 SystemErr R javax.jms.JMSExcepti

Re: java.lang.NoSuchMethodError: org/apache/activemq/ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination;

2009-02-23 Thread Raj_New
Problem solved by using latest j2ee.jar. Thanks Raj_New wrote: > > I am trying to send a message through QueueSender but it get failed. I am > using AMQ5.2 and the respective jars are in classpath. > > I am using following code : > > QueueSender queueSender = session.cre

java.lang.NoSuchMethodError: org/apache/activemq/ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination;

2009-02-23 Thread Raj_New
I am trying to send a message through QueueSender but it get failed. I am using AMQ5.2 and the respective jars are in classpath. I am using following code : QueueSender queueSender = session.createSender(destination); queueSender.setDeliveryMode(DeliveryMode.PERSISTENT); queueSender.setTimeToLiv

Warning in broker console

2009-01-19 Thread Raj_New
I am using AMQ5.2 and getting below warning WARN ManagedTransportConnection - Failed to register MBean: org.apache.acti vemq:BrokerName=localhost,Type=Connection,ConnectorName=openwire,Connection=srvE ngClientId WARN ManagedTransportConnection - Failed to unregister mbean: org.apache.ac

AMQ5.2 : How to move messages in DLQ

2009-01-19 Thread Raj_New
I am beginner in AMQ.I am working with simple application of producer/consumer in AMQ5.2. I am not able to test DLQ...please help me to how I can move messages to DLQ...any configuration setting or modification in JAVA code? -- View this message in context: http://www.nabble.com/AMQ5.2-%3A-How-t

AMQ5.2 : How to move messages in DLQ

2009-01-18 Thread Raj_New
I am beginner and want to test DLQs in AMQ5.2 Please let me know that how can I implement it in simple publisher subscriber example? Do i need to modify ActiveMQ.xml or need to modify java code? -- View this message in context: http://www.nabble.com/AMQ5.2-%3A-How-to-move-messages-in-DLQ-tp2

AMQ5.2 : Not able to send messages in DLQ

2009-01-16 Thread Raj_New
I am not able to move the messages in DLQ. I am using following steps after starting broker of AMQ5.2 for a sample app : 1. Run InquirySubscriber 2. Run InquiryPublisher Could any one have look in code and suggest what I am missing or need to be done to test DLQ means make messages to move in DL

db2 data source in ActiveMQ3.2.1

2008-11-26 Thread Raj_New
Please let me know if I can use db2 data source in ActiveMQ3.2.1 ? Is it possible to use db2 in version 3.2.1 or not ? -- View this message in context: http://www.nabble.com/db2-data-source-in-ActiveMQ3.2.1-tp20698167p20698167.html Sent from the ActiveMQ - User mailing list archive at Nabble.com

Re: How to use db2 driver 4 in ActiveMQ 3.2.1

2008-11-26 Thread Raj_New
Please let me know if any one has used db2 driver for activeMQ-3.2.1... Raj_New wrote: > > I need to use db2 type 4 driver in ActiveMQ 3.2.1...can any buddy please > let me the steps to follow to implement it Currently its using derby > ...when i cange activemq.xml for db2

How to use db2 driver 4 in ActiveMQ 3.2.1

2008-11-24 Thread Raj_New
I need to use db2 type 4 driver in ActiveMQ 3.2.1...can any buddy please let me the steps to follow to implement it Currently its using derby ...when i cange activemq.xml for db2 it says db2 drver not found will use default JDBC I have tried ActiveMQ 5 and broker statred successfully but m