[
https://issues.jboss.org/browse/JBWS-3227?page=com.atlassian.jira.plugin....
]
Alessio Soldano commented on JBWS-3227:
---------------------------------------
This is likely to be related to the new AS7 classloader; the AnnotationHandlerChainBuilder
there is doing clazz.getResource(name) where name is
'../../../../../../handlers.xml'. Class::getResource(String s) internally
delegates to ClassLoader::getResource(String s), after having prefixed the name with the
class package.
handlers configuration file not found on classpath
--------------------------------------------------
Key: JBWS-3227
URL:
https://issues.jboss.org/browse/JBWS-3227
Project: JBoss Web Services
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Reporter: Richard Opalka
Fix For: jbossws-native-4.0, jbossws-cxf-4.0
12:03:31,683 ERROR [org.jboss.msc] (pool-2-thread-5) MSC-00001: Failed to start service
jboss.deployment.unit.jaxws-jbws3034.war.INSTALL: org.jboss.msc.service.StartException in
service jboss.deployment.unit.jaxws-jbws3034.war.INSTALL: Failed to process phase INSTALL
of deployment "jaxws-jbws3034.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:112)
at
org.jboss.msc.service.ServiceInstanceImpl$StartTask.run(ServiceInstanceImpl.java:1163)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.6.0_20]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
Caused by: javax.xml.ws.WebServiceException: javax.xml.ws.WebServiceException: Could not
find the handler configuration file ../../../../../../handlers.xml specified by
@HandlerChain annotation
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:343)
[cxf-rt-frontend-jaxws.jar:2.3.2]
at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:62)
[jbossws-cxf-server.jar:4.0.0-SNAPSHOT]
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:239)
[cxf-rt-frontend-jaxws.jar:2.3.2]
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:489)
[cxf-rt-frontend-jaxws.jar:2.3.2]
at
org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:112)
[jbossws-cxf-server.jar:4.0.0-SNAPSHOT]
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:102)
[jbossws-cxf-server.jar:4.0.0-SNAPSHOT]
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:119)
[jbossws-cxf-server.jar:4.0.0-SNAPSHOT]
at
org.jboss.as.webservices.deployers.AspectDeploymentProcessor.internalDeploy(AspectDeploymentProcessor.java:77)
[jboss-as-webservices-server-integration-7.0.0.Alpha2-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at
org.jboss.as.webservices.deployers.TCCLDeploymentProcessor.deploy(TCCLDeploymentProcessor.java:41)
[jboss-as-webservices-server-integration-7.0.0.Alpha2-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
... 4 more
Caused by: javax.xml.ws.WebServiceException: Could not find the handler configuration
file ../../../../../../handlers.xml specified by @HandlerChain annotation
at
org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder.buildHandlerChainFromClass(AnnotationHandlerChainBuilder.java:88)
[cxf-rt-frontend-jaxws.jar:2.3.2]
at
org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilder.buildHandlerChainFromClass(AnnotationHandlerChainBuilder.java:284)
[cxf-rt-frontend-jaxws.jar:2.3.2]
at
org.apache.cxf.jaxws.JaxWsServerFactoryBean.buildHandlerChain(JaxWsServerFactoryBean.java:215)
[cxf-rt-frontend-jaxws.jar:2.3.2]
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.init(JaxWsServerFactoryBean.java:194)
[cxf-rt-frontend-jaxws.jar:2.3.2]
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:184)
[cxf-rt-frontend-jaxws.jar:2.3.2]
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:415)
[cxf-rt-frontend-jaxws.jar:2.3.2]
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:315)
[cxf-rt-frontend-jaxws.jar:2.3.2]
... 13 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira