0 Replies Latest reply: Feb 19, 2014 9:35 AM by 2615758 RSS

    Problems with webservice calls on WebLogic 11g

    2615758

      Hello,

       

      I'm getting an error if I call a webservice, wich is deployed on a WebLogic-Server (11g)

      The deployment works fine, only if I send a first request to the active service, I'm getting this errormessage shown in the "startWebLogic.cmd":

       

       

      com.sun.xml.ws.server.provider.SyncProviderInvokerTube processRequest

      SEVERE: null

      java.lang.reflect.InvocationTargetException

      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:597)

      at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:92)

      at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:74)

      at com.sun.xml.ws.api.server.Invoker.invokeProvider(Invoker.java:108)

      at com.sun.xml.ws.server.InvokerTube$2.invokeProvider(InvokerTube.java:161)

      at com.sun.xml.ws.server.provider.SyncProviderInvokerTube.processRequest(SyncProviderInvokerTube.java:78)

      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)

      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)

      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)

      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)

      at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:403)

      at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:539)

      at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:253)

      at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)

      at weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:171)

      at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)

      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)

      at weblogic.wsee.util.ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)

      at weblogic.wsee.jaxws.HttpServletAdapter$3.run(HttpServletAdapter.java:311)

      at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:336)

      at weblogic.wsee.jaxws.JAXWSServlet.doRequest(JAXWSServlet.java:99)

      at weblogic.servlet.http.AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)

      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3732)

      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)

      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:252)

      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: XMLStreamReader may not be null

      at de.svi.leben.webservices.LebenServiceImpl.invoke(LebenServiceImpl.java:147)

      at de.svi.leben.webservices.LebenServiceImpl.invoke(LebenServiceImpl.java:1)

       

      If I deploy the same WAR-File on an Tomcat-Application-Server, the WebService works without any problems.

      I use "ByteArrayOutputStream" / "XMLEventFactory" / "XMLEventReader" / "XMLEventWriter" from the JDK 1.6.0_24 rt.jar

      May I need an "weblogic.xml" in my WAR-File at the WEB-INF-Directory? If I do, how could it look like?

       

       

      Hope someone could help me,

       

      Regards,

      Kathy