Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2883

WSException: Malformed URL when deploying to AS bound to IPv6 address

XMLWordPrintable

      The following exception is reported when deploying an endpoint to a server bound to an IPv6 address: -

      Caused by: org.jboss.ws.WSException: Malformed URL: http://3ffe:ffff:100:f101::1:8080/admindevel
      at org.jboss.ws.metadata.builder.MetaDataBuilder.getServiceEndpointAddress(MetaDataBuilder.java:272)
      at org.jboss.ws.metadata.builder.MetaDataBuilder.initEndpointAddress(MetaDataBuilder.java:185)
      at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:147)
      at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:59)
      at org.jboss.webservices.integration.deployers.WSDeploymentAspectDeployer.internalDeploy(WSDeploymentAspectDeployer.java:107)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

      The address part needs to be wrapped in square brackets to make it correct in the URL e.g.: -

      http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
      http://[1080:0:0:0:8:800:200C:417A]/index.html

      (Examples taken from http://www.ietf.org/rfc/rfc2732.txt )

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: