Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Consumer theads no longer exist

 
Abhishek Kumar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The MDBean which acts as a message consumer in the JMS architecture seems to have died in our JBOSS.

Our JBOSS is running in production.

Basically we observed there is a huge lot of requests pending for the concerned MDBeans to pick up. We observed that the Request dispatcher is correctly sending the data to the concerned queue but then the corresponding MDBean's onMessage method is never invoked. Later we came to know that this consumer or MD Bean does not exist at all.

The concerned MDBean was working fine which all of a sudden seemed to have died as the "listThreadCpuUtilization" method in Server-info of JMX-console does not show the existence of the concerned MDBean or the message consumer.

Now we have lot of pending requests to be processed by this consumer as the pool size of this MDBean was mentioned to be huge. We can restart the jboss to let the things work normally but then it is not allowed.

Some how we need to restart this consumer which seems to have died or non-existant without restarting the jboss. A sample java client accessing these consumers and starting them again will also be handy

Any suggestions or help?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try redeploying the MDB. You might have to undeploy, wait until the hot deployer runs, and then redeploy.
 
Abhishek Kumar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi peter,


How to redeploy one single MDBean out of the whole lot without restarting the server. Can we do it or do you mean to do it from an outside java client.



Regards,
Abhishek
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would need to redeploy the app that contains the MDB. There is no way to repdeploy a single MDB (unless it in its own JAR file).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic