Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4108

org.jboss.test.webservice tests failing when AS run with IPv6 addresses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.GA_CP08
    • 4.3.0.GA_CP08
    • Web Services
    • None
    • Linux, x86, JDK5, IPv6 addresses

      The AS testsuite was run against IPv6 bind and multicast addresses, and passed in entirety except for two sets of tests:

      org.jboss.test.webservice.admindevel.ExampleTestCase
      org.jboss.test.webservice.admindevel.ExplodedExampleTestCase
      org.jboss.test.webservice.admindevel.RedeployExampleTestCase
      org.jboss.test.webservice.jbws309.JBWS309TestCase

      From the testsuite log, it appears that some WS components are still making use of IPv4 addresses:

      2010-04-13 19:17:24,801 DEBUG [org.jboss.test.webservice.admindevel.ExampleTestCase] JBossTestServices(), className=org.jboss.test.webservice.admindevel.ExampleTestCase
      2010-04-13 19:17:24,836 DEBUG [org.jboss.test.webservice.admindevel.ExampleTestCase] initialContext.getEnvironment()=

      {jnp.parsedName=, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=[fec0:0:a16:ffff::5]:1099, java.naming.factory.url.pkgs=org.jnp.interfaces}

      2010-04-13 19:17:24,837 DEBUG [org.jboss.test.webservice.admindevel.ExampleTestCase] JBossTestServices(), className=org.jboss.test.webservice.admindevel.ExampleTestCase
      2010-04-13 19:17:24,837 DEBUG [org.jboss.test.webservice.admindevel.ExampleTestCase] initialContext.getEnvironment()=

      {jnp.parsedName=, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=[fec0:0:a16:ffff::5]:1099, java.naming.factory.url.pkgs=org.jnp.interfaces}

      2010-04-13 19:17:24,837 DEBUG [org.jboss.test.webservice.admindevel.ExampleTestCase] JBossTestServices(), className=org.jboss.test.webservice.admindevel.ExampleTestCase
      2010-04-13 19:17:24,837 DEBUG [org.jboss.test.webservice.admindevel.ExampleTestCase] initialContext.getEnvironment()=

      {jnp.parsedName=, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=[fec0:0:a16:ffff::5]:1099, java.naming.factory.url.pkgs=org.jnp.interfaces}

      2010-04-13 19:17:24,847 DEBUG [org.jboss.test.JBossTestCase$1] JBossTestServices(), className=org.jboss.test.JBossTestCase$1
      2010-04-13 19:17:24,848 DEBUG [org.jboss.test.JBossTestCase$1] initialContext.getEnvironment()=

      {jnp.parsedName=, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=[fec0:0:a16:ffff::5]:1099, java.naming.factory.url.pkgs=org.jnp.interfaces}

      2010-04-13 19:17:25,293 DEBUG [org.jboss.test.JBossTestCase$1] Invoking jboss.security:service=JaasSecurityManager method=flushAuthenticationCache
      2010-04-13 19:17:25,293 DEBUG [org.jboss.test.JBossTestCase$1] args=[other]
      2010-04-13 19:17:25,322 DEBUG [org.jboss.security.SecurityAssociation] Using ThreadLocal: false
      2010-04-13 19:17:25,379 DEBUG [org.jboss.test.JBossTestCase$1] Creating LoginContext(other)
      2010-04-13 19:17:25,405 DEBUG [org.jboss.test.JBossTestCase$1] Created LoginContext, subject=Subject:
      Principal: jduke

      2010-04-13 19:17:25,416 DEBUG [org.jboss.test.JBossTestCase$1] ws4ee-admindevel.jar is not a valid URL, no protocol: ws4ee-admindevel.jar
      2010-04-13 19:17:25,416 DEBUG [org.jboss.test.JBossTestCase$1] Testing file: /mnt/hudson_workspace/workspace/eap-as-4.3.x-cp-testsuite-ipv6/src/jboss-eap-4.3-src/jboss-as/testsuite/output/lib/ws4ee-admindevel.jar
      2010-04-13 19:17:25,416 DEBUG [org.jboss.test.JBossTestCase$1] /mnt/hudson_workspace/workspace/eap-as-4.3.x-cp-testsuite-ipv6/src/jboss-eap-4.3-src/jboss-as/testsuite/output/lib/ws4ee-admindevel.jar is a valid file
      2010-04-13 19:17:25,416 DEBUG [org.jboss.test.JBossTestCase$1] Deploying ws4ee-admindevel.jar, url=file:/mnt/hudson_workspace/workspace/eap-as-4.3.x-cp-testsuite-ipv6/src/jboss-eap-4.3-src/jboss-as/testsuite/output/lib/ws4ee-admindevel.jar
      2010-04-13 19:17:25,416 DEBUG [org.jboss.test.JBossTestCase$1] Invoking jboss.system:service=MainDeployer method=redeploy
      2010-04-13 19:17:25,416 DEBUG [org.jboss.test.JBossTestCase$1] args=file:/mnt/hudson_workspace/workspace/eap-as-4.3.x-cp-testsuite-ipv6/src/jboss-eap-4.3-src/jboss-as/testsuite/output/lib/ws4ee-admindevel.jar
      2010-04-13 19:17:27,178 DEBUG [org.jboss.test.JBossTestCase$1] deployed package: ws4ee-admindevel.jar
      2010-04-13 19:17:27,178 DEBUG [org.jboss.test.JBossTestCase$1] ws4ee-admindevel-client.jar is not a valid URL, no protocol: ws4ee-admindevel-client.jar
      2010-04-13 19:17:27,179 DEBUG [org.jboss.test.JBossTestCase$1] Testing file: /mnt/hudson_workspace/workspace/eap-as-4.3.x-cp-testsuite-ipv6/src/jboss-eap-4.3-src/jboss-as/testsuite/output/lib/ws4ee-admindevel-client.jar
      2010-04-13 19:17:27,179 DEBUG [org.jboss.test.JBossTestCase$1] /mnt/hudson_workspace/workspace/eap-as-4.3.x-cp-testsuite-ipv6/src/jboss-eap-4.3-src/jboss-as/testsuite/output/lib/ws4ee-admindevel-client.jar is a valid file
      2010-04-13 19:17:27,179 DEBUG [org.jboss.test.JBossTestCase$1] Deploying ws4ee-admindevel-client.jar, url=file:/mnt/hudson_workspace/workspace/eap-as-4.3.x-cp-testsuite-ipv6/src/jboss-eap-4.3-src/jboss-as/testsuite/output/lib/ws4ee-admindevel-client.jar
      2010-04-13 19:17:27,179 DEBUG [org.jboss.test.JBossTestCase$1] Invoking jboss.system:service=MainDeployer method=redeploy
      2010-04-13 19:17:27,179 DEBUG [org.jboss.test.JBossTestCase$1] args=file:/mnt/hudson_workspace/workspace/eap-as-4.3.x-cp-testsuite-ipv6/src/jboss-eap-4.3-src/jboss-as/testsuite/output/lib/ws4ee-admindevel-client.jar
      2010-04-13 19:17:27,286 DEBUG [org.jboss.test.JBossTestCase$1] deployed package: ws4ee-admindevel-client.jar
      2010-04-13 19:17:27,291 DEBUG [org.jboss.test.webservice.admindevel.ExampleTestCase] jndiEnv:

      {jnp.parsedName=, j2ee.clientName=ws4ee-client, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=[fec0:0:a16:ffff::5]:1099, java.naming.factory.url.pkgs=org.jboss.naming.client}

      2010-04-13 19:17:27,461 DEBUG [org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC] Create jaxrpc service from wsdl
      2010-04-13 19:17:27,830 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder] START buildMetaData: [service=null]
      2010-04-13 19:17:28,139 DEBUG [org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory] parse: http://10.16.95.19:8080/admindevel?wsdl
      2010-04-13 19:17:28,151 ERROR [org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC] Cannot create service
      org.jboss.ws.metadata.wsdl.WSDLException: Cannot connect to: http://10.16.95.19:8080/admindevel?wsdl
      at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.getDocument(WSDLDefinitionsFactory.java:179)
      at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:108)
      at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:295)
      at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:115)
      at org.jboss.ws.core.jaxrpc.client.ServiceImpl.<init>(ServiceImpl.java:126)
      at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:156)
      at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1300)
      at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1317)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:790)
      at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135)
      at $Proxy1.lookup(Unknown Source)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at org.jboss.test.webservice.admindevel.ExampleTestCase.setUp(ExampleTestCase.java:61)
      [snip]

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

                Created:
                Updated:
                Resolved: