Which type of service are you trying to control (what frontend) and what
version of CXF are you using?

This JIRA ticket[1] dealt with similar functionality; however, the tests may
not actually cover checking if the service is listening again and may only
check that the JMX state is correct.  See ManagedClientServerTest.java [2]
for an example that uses JMX to control a published endpoint from the JAX-WS
frontend.

[1] https://issues.apache.org/jira/browse/CXF-2740 
[2]
https://svn.apache.org/repos/asf/cxf/trunk/systests/uncategorized/src/test/j
ava/org/apache/cxf/systest/management/ManagedClientServerTest.java

-----Original Message-----
From: gbauer [mailto:[email protected]] 
Sent: Thursday, July 29, 2010 11:44 AM
To: [email protected]
Subject: Using JMX to start and stop web services


Hello!

I want to use JMX to temporarily disable an endpoint and enable it
afterwards. I managed to configure JMX according to
http://cxf.apache.org/docs/jmx-management.html and I am able to stop the
service by using the stop-method available in the jmx console (as seen on
one screenshot in the link above). However, if i want to restart the service
using start(), the endpoint doesn't seem to get republished.

Is this a bug or did I miss something (which would be quite likely since im
fairly new to CXF)?

King regards and

TIA,
Gernot
-- 
View this message in context:
http://cxf.547215.n5.nabble.com/Using-JMX-to-start-and-stop-web-services-tp2
256734p2256734.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to