Malformed URL exception when deploying wsdl with jms address
------------------------------------------------------------
Key: JBWS-2783
URL:
https://jira.jboss.org/jira/browse/JBWS-2783
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-native
Reporter: Alessio Soldano
Assignee: Alessio Soldano
Fix For: jbossws-native-3.2.1
When providing a custom wsdl contract for a jms endpoint (thus having a jms address), we
get a MalformedURL exception due to the native stack trying to rewrite the address.
<sjain> org.jboss.deployers.spi.DeploymentException: Error during deploy:
vfszip:/home/somil/Platforms/EAP/jboss-eap-5.0/jboss-as/server/default/deploy/myApp.jar/
<sjain> at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
<sjain> at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
<sjain> at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1440)
<sjain> at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1158)
<sjain> at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1099)
<sjain> at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
<sjain> at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1632)
<sjain> at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
<sjain> at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
<sjain> at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
<sjain> at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)
<sjain> at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
<sjain> at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:782)
<sjain> at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
<sjain> at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
<sjain> at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
<sjain> at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
<sjain> at
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
<sjain> at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
<sjain> at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1632)
<sjain> at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
<sjain> at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
<sjain> at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
<sjain> at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:775)
<sjain> at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
<sjain> at
org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
<sjain> at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)
<sjain> at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
<sjain> at org.jboss.Main.boot(Main.java:221)
<sjain> at org.jboss.Main$1.run(Main.java:556)
<sjain> at java.lang.Thread.run(Thread.java:636)
<sjain> Caused by: org.jboss.ws.WSException: Malformed URL:
jms://localhost:8080/jaxws-samples-jmstransport/OrganizationJMSEndpoint
<sjain> at
org.jboss.ws.metadata.builder.MetaDataBuilder.getServiceEndpointAddress(MetaDataBuilder.java:252)
<sjain> at
org.jboss.ws.metadata.builder.MetaDataBuilder.replaceAddressLocation(MetaDataBuilder.java:317)
<sjain> at
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:193)
<sjain> at
org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
<sjain> at
org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:76)
<sjain> at
org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:69)
<sjain> at
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:129)
<sjain> at
org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:76)
<sjain> at
org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60)
<sjain> at
org.jboss.wsf.container.jboss50.deployer.WebServiceDeployerEJB.internalDeploy(WebServiceDeployerEJB.java:113)
<sjain> at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
<sjain> at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
<sjain> ... 29 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira