users@glassfish.java.net

SAAJ Conflicts on Remote WebService Invocation GF v2 b41

From: <glassfish_at_javadesktop.org>
Date: Mon, 16 Apr 2007 13:13:51 PDT

All,<br><br>

I am having trouble invoking a webservice deployed to a remote glassfish server. I <br>created my web application project in NetBeans 5.5.1 and created several <br>webservices. I deployed this application with the services to my local Glassfish <br>server and everything ran properly when tested through SoapUI. I then created a <br>brand new Glassfish instance on a remote SPARC Solaris server and then deployed <br>the webapp there. (All deployments using NetBeans). When I try to invoke the <br>same services, with the same data I am getting an Internal Server Error (500) from <br>remote server.<br><br>

From the stracktrace (below) there seems to be a problem with the outgoing SOAP <br>message. My code is invoked properly (as evidenced in my logs) but the output <br>cannot be sent back to the caller.<br><br>

I am not using any special configurations. These are very simple webservices deployed <br>within a webapplication. Any help that can be provided would be very much <br>appreciated!!<br><br>

[#|2007-04-16T16:00:48.320-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=httpSSLWorkerThread-10080-0;_RequestID=efa90bb1-2c68-4621-bc1d-06fd23ce80f0;|StandardWrapperValve[DocIdService]: <br>PWC1406: Servlet.service() for servlet DocIdService threw exception
<br>javax.servlet.ServletException
        <br>at com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:150)
        <br>at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
        <br>at javax.servlet.http.HttpServlet.service(HttpServlet.java:818)
        <br>at <br>org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
        at <br>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
        at <br>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
        at <br>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
        <br>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
        <br>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
        <br>at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
        <br>at <br>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
        <br>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
        <br>at <br>org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
        <br>at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
        <br>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
        <br>at <br>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        <br>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
        <br>at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
        <br>at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
        <br>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
        <br>at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
        <br>at <br>com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
        at <br>com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
        at <br>com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
        at <br>com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
        at <br>com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
        at <br>com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
        at <br>com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:348)
        <br>at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        <br>at <br>com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
<br><b>Caused by: java.lang.IllegalAccessError: tried to access field <br>com.sun.xml.messaging.saaj.soap.MessageImpl.soapPart from class <br>com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl</b>
        at <br>com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.getSOAPPart(Message1_1Impl.java:77)
        at <br>com.sun.xml.ws.message.AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:177)
        <br>at com.sun.enterprise.webservice.MonitoringPipe.process(MonitoringPipe.java:144)
        at <br>com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
        <br>at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
        <br>at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
        <br>at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
        <br>at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
        <br>at <br>com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:70)
        at <br>com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:205)
        at <br>com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:116)
        at <br>com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
        <br>at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
        <br>at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
        <br>at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
        <br>at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
        <br>at <br>com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:217)
        at <br>com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:374)
        <br>at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:175)
        <br>at <br>com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
        <br>at <br>com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:145)
        <br>... 29 more
|#]
[Message sent by forum member 'spooky36' (spooky36)]

http://forums.java.net/jive/thread.jspa?messageID=212594