users@glassfish.java.net

Re: Java WS client works, Ruby client fails

From: jxt <tolliverjs_at_ornl.gov>
Date: Tue, 25 Sep 2007 08:56:11 -0700 (PDT)

jxt wrote:
>
> 3. Where are the glassfish logs? In glassfish/domains/domain1/logs I see
> logs of the
> connections from my Java client, but I see NOTHING from the Ruby client.
> That error
> is obviously coming from the server side, so shouldn't it be logged
> somewhere by
> Glassfish?
>

I take it back, the error does appear in the logs. Don't know how I missed
it before.
Here's a portion of the stacktrace:

[#|2007-09-24T16:00:21.444-0400|WARNING|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=httpSSLWorkerThread-80-0;_RequestID=8b9dba34-691d-416a-a6d8-4c34325ce7b5;|preWebHandlerError

java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.impl.TextImpl
        at
com.sun.xml.rpc.server.StreamingHandler.getOpcodeForRequestMessage(StreamingHandler.java:657)
        at com.sun.enterprise.webservice.WsUtil.getInvMethod(WsUtil.java:1277)
        at
com.sun.enterprise.webservice.ServletPreHandler.handleRequest(ServletPreHandler.java:86)
        at
com.sun.xml.rpc.client.HandlerChainImpl.handleRequest(HandlerChainImpl.java:103)
        at
com.sun.xml.rpc.server.StreamingHandler.callRequestHandlers(StreamingHandler.java:962)
        at
com.sun.xml.rpc.server.StreamingHandler.preHandlingHook(StreamingHandler.java:868)
        at gov.ornl.geocommons.RoutingRoutingPort_Tie.preHandlingHook
(RoutingRoutingPort_Tie.java:306)
        at
com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:127)
        at
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:467)
        at
com.sun.enterprise.webservice.JAXRPCServlet.doPost(JAXRPCServlet.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        ...

I'm a little bothered by the thread name httpSSLWorkerThread since this is
plain ol' port 80, no SSL.

Oh well, maybe this little bit of extra information will help someone help
me diagnose my problems. Thanks.


-- 
View this message in context: http://www.nabble.com/Java-WS-client-works%2C-Ruby-client-fails-tf4516048.html#a12882757
Sent from the java.net - glassfish users mailing list archive at Nabble.com.