Details
-
Bug
-
Resolution: Done
-
Major
-
7.1.0.CR1b
-
None
Description
I've got an EJB-Jar module with an EJB3 stateless session bean as JAX-WS endpoint. The endpoint references a handler chain via @HandlerChain annotation. While deploying the WAR the following exception is thrown.
12:36:19,529 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) MSC00001: Failed to start service jboss.deployment.unit."jaxws-injection-ejb3-inside.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jaxws-injection-ejb3-inside.war".PARSE: Failed to process phase PARSE of deployment "jaxws-injection-ejb3-inside.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26] at java.lang.Thread.run(Thread.java:680) [:1.6.0_26] Caused by: java.lang.IllegalStateException at org.jboss.as.webservices.util.ASHelper.getRequiredAttachment(ASHelper.java:166) at org.jboss.as.webservices.deployers.WSIntegrationProcessorJAXWS_HANDLER.processAnnotation(WSIntegrationProcessorJAXWS_HANDLER.java:55) at org.jboss.as.webservices.deployers.AbstractIntegrationProcessorJAXWS.deploy(AbstractIntegrationProcessorJAXWS.java:87) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT] ... 5 more
As far as i can tell from looking at the corresponding AS7 code the exception means that the handler chain file wasn't found. An EJB3 endpoint inside a WAR without a handler chain works as expected.