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

Ear/War intermodule webservice access through port-component-link broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.2.0.GA_CP04, 4.3.0.GA_CP02
    • TCK, Web Services
    • None
    • TCK1.4
      com/sun/ts/tests/webservices/deploy/portcomplink/ejb/Client.java#PortCompLinkEjbTest
      com/sun/ts/tests/webservices/deploy/portcomplink/war/Client.java#PortCompLinkWarTest

      ERROR [ServiceObjectFactoryJAXRPC:254] Cannot create service
      java.io.IOException: Server returned HTTP response code: 401 for URL: http://127.0.0.1:8080/jbossws/pclink?pcLink=PortCompLinkWar_web.war%23InterPC
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
      at java.net.URL.openStream(URL.java:1007)
      at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:207)
      at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1273)
      at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1290)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:763)
      at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135)
      at $Proxy0.lookup(Unknown Source)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at com.sun.ts.tests.webservices.deploy.portcomplink.war.Client.getStub(Client.java:42)
      at com.sun.ts.tests.webservices.deploy.portcomplink.war.Client.setup(Client.java:64)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.ts.lib.harness.EETest.run(EETest.java:449)
      at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:370)
      at com.sun.ts.lib.harness.EETest.run(EETest.java:229)
      at com.sun.ts.tests.webservices.deploy.portcomplink.war.Client.main(Client.java:50)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.ts.lib.porting.JBossClientInvoker.main(JBossClientInvoker.java:86)
      ERROR: Exception at:
      ERROR: javax.naming.NamingException: Could not dereference object [Root exception is java.io.IOException: Server returned HTTP response code: 401 for URL: http://127.0.0.1:8080/jbossws/pclink?pcLink=PortCompLinkWar_web.war%23InterPC]
      at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1298)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:763)
      at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135)
      at $Proxy0.lookup(Unknown Source)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at com.sun.ts.tests.webservices.deploy.portcomplink.war.Client.getStub(Client.java:42)
      at com.sun.ts.tests.webservices.deploy.portcomplink.war.Client.setup(Client.java:64)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.ts.lib.harness.EETest.run(EETest.java:449)
      at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:370)
      at com.sun.ts.lib.harness.EETest.run(EETest.java:229)
      at com.sun.ts.tests.webservices.deploy.portcomplink.war.Client.main(Client.java:50)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.ts.lib.porting.JBossClientInvoker.main(JBossClientInvoker.java:86)
      Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://127.0.0.1:8080/jbossws/pclink?pcLink=PortCompLinkWar_web.war%23InterPC
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
      at java.net.URL.openStream(URL.java:1007)
      at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:207)
      at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1273)
      at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1290)
      ... 19 more

              rrajasek@redhat.com Rajesh Rajasekaran
              rrajasek@redhat.com Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: