aspose file tools*
The moose likes JBoss/WildFly and the fly likes Jboss EAR with EJB and webservice health monitoring and management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss EAR with EJB and webservice health monitoring and management" Watch "Jboss EAR with EJB and webservice health monitoring and management" New topic
Author

Jboss EAR with EJB and webservice health monitoring and management

bunty lava
Greenhorn

Joined: Mar 19, 2013
Posts: 2


I am using Jboss5.1 and I have a EAR1 deployed which has a EJB3 component implemented using @Stateless annotation and the same EJB is also exposed as webservice using the annotation @webservice.

I want to check through a EJB service/management service bean(Packaged in another EAR2) from the start of deployment to un-deployment of EAR1 PERIODICALLY, if the EJB and Webservice is deployed and running properly and working normally and is not in deadlock/non responsive state.

I have looked into JMX and I am able to get notifications of create and destroy for EJB as well as webservice, but how to check periodically whether the EJB and webservice is working normally and is not in deadlock/non responsive state?

Also how to monitor Jboss ESB services?

Is the JMX is the only way or does jboss provides any other API's to do this

Thanks in advance if you are looking at this.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5842
    
    7

JMX is the only way unless you build a heartbeat function into the web service itself (or reuse a "get" method to verify that things are still working).


JBoss In Action
 
Consider Paul's rocket mass heater.
 
subject: Jboss EAR with EJB and webservice health monitoring and management