-
Bug
-
Resolution: Done
-
Minor
-
EAP_EWP 5.1.2
-
None
-
Release Notes
-
The exception when a class name from @WebService.endpointInterface is incorrect was difficult to understand. The exception now explains why the error was thrown, making it easier to pinpoint the root cause.
-
Documented as Resolved Issue
-
NEW
Currently the stack trace is like this if @WebService.endpointInterface equals MyInterface and it can't be found:
Caused by: org.jboss.ws.WSException: Cannot build meta data: MyInterface from BaseClassLoader@3fa3a66c{vfszip:/shared/appser ver/deploy/example.ear/} at org.jboss.ws.WSException.rethrow(WSException.java:60) at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:217) at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:52) at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:76) at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:69) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:129) at org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:76) at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60) at org.jboss.wsf.container.jboss50.deployer.WebServiceDeployerEJB.internalDeploy(WebServiceDeployerEJB.java:113) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) ... 30 more Caused by: java.lang.ClassNotFoundException: MyInterface from BaseClassLoader@3fa3a66c{vfszip:/shared/appserver/deploy/example.ear/} at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:477) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.processWebService(JAXWSWebServiceMetaDataBuilder.java:332) at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:112) ... 39 more
- blocks
-
JBPAPP-9494 [JBossWS] Release and upgrade JBossWS Native for EAP 5.2.0
- Closed