Author: jim.ma
Date: 2013-07-11 06:01:21 -0400 (Thu, 11 Jul 2013)
New Revision: 17766
Modified:
common/trunk/src/main/java/org/jboss/ws/common/deployment/DefaultLifecycleHandler.java
Log:
[JBWS-3660]:Simply return if the Endpoint is already stopped
Modified:
common/trunk/src/main/java/org/jboss/ws/common/deployment/DefaultLifecycleHandler.java
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/deployment/DefaultLifecycleHandler.java 2013-07-10
17:15:46 UTC (rev 17765)
+++
common/trunk/src/main/java/org/jboss/ws/common/deployment/DefaultLifecycleHandler.java 2013-07-11
10:01:21 UTC (rev 17766)
@@ -71,6 +71,10 @@
public void stop(Endpoint ep)
{
EndpointState state = ep.getState();
+ if (state == EndpointState.STOPPED) {
+ //if the endpoint is stopped in EndpointServiceDA
+ return;
+ }
if (state != EndpointState.STARTED)
{
Loggers.DEPLOYMENT_LOGGER.cannotStopEndpoint(state, ep.getName());
Show replies by date