-
1. Re: How to monitor executing WS?
kondylak Feb 4, 2012 5:13 AM (in response to kondylak)Any help???
-
2. Re: How to monitor executing WS?
jim.ma Feb 6, 2012 2:48 AM (in response to kondylak)Can you use jmx to monitor the status of registered endpoint ? Please have a look https://community.jboss.org/message/714426#714426 for more details.
-
3. Re: How to monitor executing WS?
kondylak Feb 6, 2012 3:04 AM (in response to jim.ma)Can you post again the URL? It seems broken
Thanks!!
-
4. Re: How to monitor executing WS?
jim.ma Feb 6, 2012 3:21 AM (in response to kondylak)Sorry, should be this link https://community.jboss.org/wiki/JBossWS-EndpointManagement.
-
5. Re: How to monitor executing WS?
kondylak Feb 7, 2012 4:57 AM (in response to jim.ma)I've already looked the specific page, however I've still not figured out how to do what I want? Is there a more specific example?
-
6. Re: How to monitor executing WS?
spyhunter99 Feb 13, 2012 10:58 AM (in response to kondylak)You may be able to create an mbean for your worker class. Then you can start/stop/status check is from the jboss management console or from jmx
-
7. Re: How to monitor executing WS?
kondylak Mar 15, 2012 9:59 AM (in response to spyhunter99)Can you give me a specific code example?
-
8. Re: How to monitor executing WS?
spyhunter99 Mar 15, 2012 10:03 AM (in response to kondylak)Create an interface called MyMBeanAdapter, include whatever methods you want to expose. They must be public
Take your working class and add, implements WorkerClassAdapterMBean.
Implement the interface functions. deploy and give it a whirl. it's that easy
-
9. Re: How to monitor executing WS?
kondylak Apr 25, 2012 9:28 AM (in response to spyhunter99)I created the interface, made my webservice class implement the interface but nothing happened. In the jmx-console I cannot find the exposed methods. Can you give me a complete example?
-
10. Re: How to monitor executing WS?
spyhunter99 Apr 25, 2012 12:11 PM (in response to kondylak)Sorry about that, the class names need to match
interface: MyMBeanAdapterMBean
impl: MyMBeanAdapter
Source:
http://docs.oracle.com/javase/tutorial/jmx/mbeans/standard.html
When you say "nothing happened", are you just referring to the JMX/MBean not showing up? Or do you mean that your service won't fire up when deployed?
-
11. Re: How to monitor executing WS?
kondylak Apr 26, 2012 3:21 AM (in response to spyhunter99)Should I create a JMX agent to handle my service as well?
When I mean with "nothing is happened" is that the public functions (defined in the interface and implemented in my class ) do not appear in the JMX console
-
12. Re: How to monitor executing WS?
spyhunter99 Apr 26, 2012 7:19 AM (in response to kondylak)It depends on which jboss version you are running. 6 doesn't need anything special. 5 may