Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8701

WebServices tests in org.jboss.webservice failing when run against IPv6 addresses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • No Release
    • 6.0.0.CR1
    • Web Services
    • None

      When running the testsuite with IPv6 addresses, tests from the following test classes are failing:

      org.jboss.test.webservice.admindevel.ExampleTestCase
      org.jboss.test.webservice.admindevel.ExplodedExampleTestCase
      org.jboss.test.webservice.admindevel.RedeployExampleTestCase
      org.jboss.test.webservice.jbas5614.JBAS5614TestCase

      The details of the failures can be found here in the Hudson job for the run:
      http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x-testSuite-ipv6-clone/6/

      These test failures exhibit a common error (for example, in ExampleTestCase):

      Error Message
      Could not dereference object

      Stacktrace
      javax.naming.NamingException: Could not dereference object [Root exception is javax.xml.ws.WebServiceException: Cannot find wsdl-override: http://fec0:0:a16:ffff::1:8080/admindevel?wsdl]
      at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1508)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:824)
      at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:153)
      at $Proxy0.lookup(Unknown Source)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at org.jboss.test.webservice.admindevel.ExampleTestCase.setUp(ExampleTestCase.java:61)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      at junit.extensions.TestSetup.run(TestSetup.java:27)
      Caused by: javax.xml.ws.WebServiceException: Cannot find wsdl-override: http://fec0:0:a16:ffff::1:8080/admindevel?wsdl
      at org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData.getWsdlLocation(UnifiedServiceRefMetaData.java:360)
      at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:144)
      at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1483)
      at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1500)
      Caused by: java.io.IOException: Cannot get URL for: http://fec0:0:a16:ffff::1:8080/admindevel?wsdl
      at org.jboss.wsf.spi.util.URLLoaderAdapter.findChild(URLLoaderAdapter.java:118)
      at org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData.getWsdlLocation(UnifiedServiceRefMetaData.java:356)

        1. test.log
          1.37 MB
        2. server.log
          2.31 MB

              rhn-support-asoldano Alessio Soldano
              rachmato@redhat.com Richard Achmatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: