Bug 1147657
Summary: | [GSS] (6.4.0) POJO JAX-WS endpoints should not be processed if packaged in EJB-jar | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Kyle Lape <klape> |
Component: | Web Services | Assignee: | Jim Ma <ema> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Rostislav Svoboda <rsvoboda> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | ema, jbliznak, kkhan, myarboro |
Target Milestone: | DR9 | ||
Target Release: | EAP 6.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Kyle Lape
2014-09-29 18:47:29 UTC
Merged Using test deployment as stated in #c0, with the older version of EAP such deployment fails (which is different from what is in #c0, but that was clearly made for wildfly): 16:46:30,076 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "test.jar" (runtime-name: "test.jar") 16:46:30,150 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."test.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."test.jar".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "test.jar" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.5.0.Final-redhat-9.jar:7.5.0.Final-redhat-9] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011030: Could not configure component com.redhat.gss.ws.HelloService at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:94) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.0.Final-redhat-9.jar:7.5.0.Final-redhat-9] ... 5 more Caused by: java.lang.ClassNotFoundException: com.redhat.gss.ws.HelloService from [Module "deployment.test.jar:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.4.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.4.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.4.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.4.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.4.Final-redhat-1] at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_67] at java.lang.Class.forName(Class.java:270) [rt.jar:1.7.0_67] at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) [jboss-as-server-7.5.0.Final-redhat-9.jar:7.5.0.Final-redhat-9] at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:78) ... 6 more 16:46:30,155 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 4) JBAS014612: Operation ("deploy") failed - address: ({"deployment" => "test.jar"}) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"test.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"test.jar\".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment \"test.jar\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011030: Could not configure component com.redhat.gss.ws.HelloService Caused by: java.lang.ClassNotFoundException: com.redhat.gss.ws.HelloService from [Module \"deployment.test.jar:main\" from Service Module Loader]"}} 16:46:30,158 ERROR [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "test.jar" was rolled back with the following failure message: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"test.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"test.jar\".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment \"test.jar\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011030: Could not configure component com.redhat.gss.ws.HelloService Caused by: java.lang.ClassNotFoundException: com.redhat.gss.ws.HelloService from [Module \"deployment.test.jar:main\" from Service Module Loader]"}} 16:46:30,167 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment test.jar (runtime-name: test.jar) in 9ms 16:46:30,168 INFO [org.jboss.as.controller] (management-handler-thread - 4) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.deployment.unit."test.jar".INSTALL In 6.4.0.DR9, the deployment is now successful with nothing published: 15:58:40,995 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014900: Content added at location /home/development/jbossqe/JBEAP-6.4.0.DR9/build/jboss-eap-6.4/standalone/data/content/4a/4d5f1a40ff18336816aa1edebd2985f6b09dd4/content 15:58:40,997 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "test.jar" (runtime-name: "test.jar") 15:58:41,063 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018559: Deployed "test.jar" (runtime-name : "test.jar") We agreed with Allesio that it might be also useful to add some debug or warning that the deployment actually contains POJO webservice, but is not processed because it isn't in a war archive, new BZ/JIRA will be done for that. Verified on 6.4.0.DR9 |