aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JMS Queue problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Queue problem" Watch "JMS Queue problem" New topic
Author

JMS Queue problem

dumani jayasinghe
Greenhorn

Joined: Dec 03, 2008
Posts: 29

Hi All,

I am sending a message to update the status via MDB.
The log shows the updating in success and after the transaction the session closed and do not show any exception or error in the log.
But the status is not updated in the database.

will the case can be because of a JMS queue problem or what???

Please anyone can help me?
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

will the case can be because of a JMS queue problem or what???


If there has been a Message inside Queue and you were able to access that Message inside your MDB , then that is fine , there isn't problem anywhere .
Check your DAO , properly as why status is not being updated in the database , use IDE debugger or System.out.println statements .

Thanks .


Save India From Corruption - Anna Hazare.
dumani jayasinghe
Greenhorn

Joined: Dec 03, 2008
Posts: 29

The message is queue and able to access MDB too.
No any error in DAO. This case not happen always.
After we back the status and do the process it works correctly.

I doubt whether it occur due to the clustering of the nodes?
We have 4 nodes.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

We used to have External IBM MQ for Queues , this problem used to come , and we used to restart the Channel ad Listeners ,this came due to the server ups and downs on which IBM M has been setup.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS Queue problem