[jboss-user] [JBoss Web Services] - ManagedEndpointMBean not stopping WebService

anemerov do-not-reply at jboss.com
Mon Dec 3 12:19:42 EST 2012

anemerov [https://community.jboss.org/people/anemerov] created the discussion

"ManagedEndpointMBean not stopping WebService"

To view the discussion, visit: https://community.jboss.org/message/779690#779690

I am running a webservice managed by a ManagedEndpointMBean and it seems like all of the functions are working properly besides stop(). All of the web service statistics are showing up properly, and the stop time is being set but when I set a service to be stopped the web service can still be accessed. Below is the code I am using for creating an MBean:

        MBeanServer server = MBeanServerLocator.locate();

        try {
            return (ManagedEndpointMBean) MBeanProxyExt.create(ManagedEndpointMBean.class, path, server);
        } catch (MalformedObjectNameException e) {
                  log.error("Error in findWSMBean", e);

        return null;

I am simply running ManagedEndpointMBean.stop() on the services when it is manually configured to do so. If anyone has any idea what might be causing this it would be greatly appreciated.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121203/d54a0629/attachment.html 

More information about the jboss-user mailing list