Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS Queue problem

 
dumani jayasinghe
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .

 
dumani jayasinghe
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic