]
Alessio Soldano commented on JBWS-3660:
---------------------------------------
Intermittent failure in ResourceResolverDeploymentAspect
--------------------------------------------------------
Key: JBWS-3660
URL:
https://issues.jboss.org/browse/JBWS-3660
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-cxf
Affects Versions: jbossws-cxf-4.1.3
Reporter: Jim Ma
Assignee: Jim Ma
Fix For: jbossws-cxf-4.2
After EndpointLifeCyle is moved and executed in EndpointService.start() and
EndpointService.stop(). The ResouceResolverDeploymentAspect.stop() will try to remove
attachment from endpoint before EndpointService set it to Stopped or
EndpointService.uninstall() is not called when stopServices is false.
14:36:55,337 ERROR [stderr] (default task-19)
org.jboss.wsf.spi.deployment.WSFDeploymentException: java.lang.IllegalStateException:
JBWS022105: Cannot modify endpoint in state STARTED:
jboss.ws:context=ep-publish-test,endpoint=pattern
14:36:55,337 ERROR [stderr] (default task-19) at
org.jboss.wsf.spi.deployment.WSFDeploymentException.rethrow(WSFDeploymentException.java:52)
14:36:55,337 ERROR [stderr] (default task-19) at
org.jboss.ws.common.deployment.DeploymentAspectManagerImpl.failsafeStop(DeploymentAspectManagerImpl.java:184)
14:36:55,337 ERROR [stderr] (default task-19) at
org.jboss.ws.common.deployment.DeploymentAspectManagerImpl.undeploy(DeploymentAspectManagerImpl.java:169)
14:36:55,338 ERROR [stderr] (default task-19) at
org.jboss.as.webservices.publish.EndpointPublisherImpl.destroy(EndpointPublisherImpl.java:218)
14:36:55,338 ERROR [stderr] (default task-19) at
org.jboss.test.ws.publish.EndpointPublishServlet.doGet(EndpointPublishServlet.java:117)
14:36:55,338 ERROR [stderr] (default task-19) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
14:36:55,338 ERROR [stderr] (default task-19) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
14:36:55,338 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87)
14:36:55,338 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
14:36:55,339 ERROR [stderr] (default task-19) at
io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:138)
14:36:55,339 ERROR [stderr] (default task-19) at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56)
14:36:55,339 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
14:36:55,339 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
14:36:55,339 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:56)
14:36:55,340 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
14:36:55,340 ERROR [stderr] (default task-19) at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
14:36:55,340 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:115)
14:36:55,340 ERROR [stderr] (default task-19) at
io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)
14:36:55,340 ERROR [stderr] (default task-19) at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
14:36:55,341 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:65)
14:36:55,341 ERROR [stderr] (default task-19) at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70)
14:36:55,341 ERROR [stderr] (default task-19) at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
14:36:55,341 ERROR [stderr] (default task-19) at
org.wildfly.extension.undertow.security.SecurityContextCreationHandler.handleRequest(SecurityContextCreationHandler.java:54)
14:36:55,341 ERROR [stderr] (default task-19) at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
14:36:55,342 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:131)
14:36:55,342 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:118)
14:36:55,342 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:47)
14:36:55,342 ERROR [stderr] (default task-19) at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:94)
14:36:55,342 ERROR [stderr] (default task-19) at
io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:36)
14:36:55,342 ERROR [stderr] (default task-19) at
io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:629)
14:36:55,343 ERROR [stderr] (default task-19) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
14:36:55,343 ERROR [stderr] (default task-19) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
14:36:55,343 ERROR [stderr] (default task-19) at java.lang.Thread.run(Thread.java:722)
14:36:55,343 ERROR [stderr] (default task-19) Caused by: java.lang.IllegalStateException:
JBWS022105: Cannot modify endpoint in state STARTED:
jboss.ws:context=ep-publish-test,endpoint=pattern
14:36:55,343 ERROR [stderr] (default task-19) at
org.jboss.ws.common.deployment.AbstractDefaultEndpoint.assertEndpointSetterAccess(AbstractDefaultEndpoint.java:255)
14:36:55,344 ERROR [stderr] (default task-19) at
org.jboss.ws.common.deployment.AbstractDefaultEndpoint.removeAttachment(AbstractDefaultEndpoint.java:235)
14:36:55,344 ERROR [stderr] (default task-19) at
org.jboss.wsf.stack.cxf.deployment.aspect.ResourceResolverDeploymentAspect.stop(ResourceResolverDeploymentAspect.java:62)
14:36:55,344 ERROR [stderr] (default task-19) at
org.jboss.ws.common.deployment.DeploymentAspectManagerImpl.failsafeStop(DeploymentAspectManagerImpl.java:180)
14:36:55,344 ERROR [stderr] (default task-19) ... 31 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: