[jboss-jira] [JBoss JIRA] (AS7-3411) JAX-WS handler chain file not recognized for EJB3 endpoint inside a WAR
Richard Opalka (JIRA)
jira-events at lists.jboss.org
Thu Jan 26 07:34:50 EST 2012
[ https://issues.jboss.org/browse/AS7-3411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Opalka resolved AS7-3411.
---------------------------------
Resolution: Done
Updated test case:
https://github.com/jbossas/jboss-as/commit/1a52a8c59c422413913a2631c94737d74994d959
Fix:
https://github.com/jbossas/jboss-as/commit/e9e5dab4c32ea5c931a2818ed280fe8ff9df94e5
> JAX-WS handler chain file not recognized for EJB3 endpoint inside a WAR
> -----------------------------------------------------------------------
>
> Key: AS7-3411
> URL: https://issues.jboss.org/browse/AS7-3411
> Project: Application Server 7
> Issue Type: Bug
> Components: Web Services
> Affects Versions: 7.1.0.CR1b
> Reporter: Robert Reimann
> Assignee: Richard Opalka
> Fix For: 7.1.0.Final
>
>
> 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.
> {code}
> 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
> {code}
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list