-
Bug
-
Resolution: Done
-
Major
-
None
-
None
When you try to deploy deployment with webservices and with -ds.xml (not sure if it is relevant) it from time to time cause a failure like this:
14:42:05,312 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) WFLYSRV0018: Deployment "deployment.jaxws-samples-wsrm-store.war" is using a private module ("org.apache.cxf.impl:main") which may be changed or removed in future versions without notice. 14:42:05,347 INFO [org.jboss.ws.cxf.metadata] (MSC service thread 1-4) JBWS024061: Adding service endpoint metadata: id=SimpleService address=http://[::1]:8080/jaxws-samples-wsrm-store implementor=org.jboss.test.ws.jaxws.samples.wsrm.store.EndpointImpl serviceName={http://www.jboss.org/jbossws/ws-extensions/wsrm}RMService portName={http://www.jboss.org/jbossws/ws-extensions/wsrm}RMEndpointPort annotationWsdlLocation=null wsdlLocationOverride=null mtomEnabled=false 14:42:05,355 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-4) Creating Service {http://www.jboss.org/jbossws/ws-extensions/wsrm}RMService from class org.jboss.test.ws.jaxws.samples.wsrm.store.Endpoint 14:42:05,371 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-4) Setting the server's publish address to be http://[::1]:8080/jaxws-samples-wsrm-store 14:42:05,381 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."jaxws-samples-wsrm-store.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."jaxws-samples-wsrm-store.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "jaxws-samples-wsrm-store.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: org/jboss/ws/common/Loggers at org.jboss.test.ws.jaxws.samples.wsrm.store.RMStoreFeature.initializeProvider(RMStoreFeature.java:85) at org.apache.cxf.feature.AbstractFeature.initialize(AbstractFeature.java:45) at org.apache.cxf.frontend.ServerFactoryBean.applyFeatures(ServerFactoryBean.java:249) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:211) at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211) at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:460) at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:338) at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:79) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:255) at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:543) at org.jboss.wsf.stack.cxf.configuration.BusHolder.configure(BusHolder.java:231) at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:97) at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:59) at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:73) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147) ... 5 more Caused by: java.lang.ClassNotFoundException: org.jboss.ws.common.Loggers from [Module "deployment.jaxws-samples-wsrm-store.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130) ... 20 more 14:42:05,402 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/rmclientdb] 14:42:05,403 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/rmdb] 14:42:05,403 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 5) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jaxws-samples-wsrm-store.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jaxws-samples-wsrm-store.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jaxws-samples-wsrm-store.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"jaxws-samples-wsrm-store.war\" Caused by: java.lang.NoClassDefFoundError: org/jboss/ws/common/Loggers Caused by: java.lang.ClassNotFoundException: org.jboss.ws.common.Loggers from [Module \"deployment.jaxws-samples-wsrm-store.war:main\" from Service Module Loader]"}} 14:42:05,404 ERROR [org.jboss.as.server] (management-handler-thread - 5) WFLYSRV0021: Deploy of deployment "jaxws-samples-wsrm-store.war" was rolled back with the following failure message: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jaxws-samples-wsrm-store.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jaxws-samples-wsrm-store.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"jaxws-samples-wsrm-store.war\" Caused by: java.lang.NoClassDefFoundError: org/jboss/ws/common/Loggers Caused by: java.lang.ClassNotFoundException: org.jboss.ws.common.Loggers from [Module \"deployment.jaxws-samples-wsrm-store.war:main\" from Service Module Loader]"}} 14:42:05,423 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/rmdb] 14:42:05,423 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/rmclientdb] 14:42:05,427 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment jaxws-samples-wsrm-store.war (runtime-name: jaxws-samples-wsrm-store.war) in 23ms 14:42:05,427 INFO [org.jboss.as.controller] (management-handler-thread - 5) WFLYCTL0183: Service status report WFLYCTL0186: Services which failed to start: service jboss.deployment.unit."jaxws-samples-wsrm-store.war".INSTALL
It might be cause by some sort of race condition because its intermittent nature, I was not able to narrow it down so far.
- clones
-
JBEAP-1432 Random webservice deployment failure on windows
- Closed