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
[https://community.jboss.org/message/779690#779690]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to