aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JMS  Exception on MQSeries server hiccup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS  Exception on MQSeries server hiccup" Watch "JMS  Exception on MQSeries server hiccup" New topic
Author

JMS Exception on MQSeries server hiccup

Arun Kumar
Ranch Hand

Joined: May 22, 2006
Posts: 62
Hi I am using the atg dynamo application server and i have an interface with MQSeries using JMS. I am facing a situation where MQSeries server momentarily went down and came up again but my application server started throwing errors continuously trying to poll the MQSeries server.
I am wondering is there a way to repair the connection without restarting the application server. Any help will be appreciated.


javax.jms.JMSException: MQJMS1023: rollback failed
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:530)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.MQQueueSession.rollback(MQQueueSession.java:536)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.afterCompletion(InputDestinationConsumer.java:394)



javax.jms.JMSException: MQJMS2002: failed to get message from MQ queue
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:530)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.MQQueueReceiver.getMessage(MQQueueReceiver.java:1729)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.MQQueueReceiver.receiveInternal(MQQueueReceiver.java:1151)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.MQQueueReceiver.receive(MQQueueReceiver.java:470)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.runXATransactions(InputDestinationConsumer.java:233)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.run(InputDestinationConsumer.java:172)

**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dtm.TransactionImpl.callSynchronizationsAfterCompletion(TransactionImpl.java:328)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dtm.TransactionImpl.rollback(TransactionImpl.java:930)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dtm.TransactionDemarcation.end(TransactionDemarcation.java:367)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dtm.TransactionDemarcation.end(TransactionDemarcation.java:422)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.runXATransactions(InputDestinationConsumer.java:253)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.run(InputDestinationConsumer.java:172)
K Jack
Greenhorn

Joined: Dec 27, 2012
Posts: 2

Arun Kumar wrote:Hi I am using the atg dynamo application server and i have an interface with MQSeries using JMS. I am facing a situation where MQSeries server momentarily went down and came up again but my application server started throwing errors continuously trying to poll the MQSeries server.
I am wondering is there a way to repair the connection without restarting the application server. Any help will be appreciated.


javax.jms.JMSException: MQJMS1023: rollback failed
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:530)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.MQQueueSession.rollback(MQQueueSession.java:536)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.afterCompletion(InputDestinationConsumer.java:394)



javax.jms.JMSException: MQJMS2002: failed to get message from MQ queue
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:530)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.MQQueueReceiver.getMessage(MQQueueReceiver.java:1729)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.MQQueueReceiver.receiveInternal(MQQueueReceiver.java:1151)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat com.ibm.mq.jms.MQQueueReceiver.receive(MQQueueReceiver.java:470)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.runXATransactions(InputDestinationConsumer.java:233)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861242/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.run(InputDestinationConsumer.java:172)

**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dtm.TransactionImpl.callSynchronizationsAfterCompletion(TransactionImpl.java:328)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dtm.TransactionImpl.rollback(TransactionImpl.java:930)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dtm.TransactionDemarcation.end(TransactionDemarcation.java:367)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dtm.TransactionDemarcation.end(TransactionDemarcation.java:422)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.runXATransactions(InputDestinationConsumer.java:253)
**** ErrorMon Aug 21 06:24:21 EDT 20061156155861237/atg/dynamo/messaging/MessagingManagerat atg.dms.patchbay.InputDestinationConsumer.run(InputDestinationConsumer.java:172)


Did you ever figure out how to fix this issue?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS Exception on MQSeries server hiccup