Problems with com.caucho.hessian.test.BasicClient

From: Daniel Lorch <ml-daniel@xxx.cc>
Date: Thu Nov 20 2003 - 02:21:45 PST

hi,

Using hessian-3.0.1.jar and hessian-test.jar I get:

-------------------------------------------------------------------------
$ java com.caucho.hessian.test.BasicClient
Hello: Hello, world
7 - 2: 5
Exception in thread "main" com.caucho.hessian.io.HessianProtocolException:
         at
com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:170)
         at $Proxy0.echo(Unknown Source)
         at com.caucho.hessian.test.BasicClient.main(BasicClient.java:88)
-------------------------------------------------------------------------

The problem is on the server. Here's the Ethereal-log:

-------------------------------------------------------------------------
POST /hessian/test/basic HTTP/1.1
Content-Type: text/xml
User-Agent: Java/1.4.2_02
Host: www.caucho.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 30

c m echoVt l S aI zzHTTP/1.1 500 Internal Server Error
Server: Resin/Resin-3.0.s031119
Content-Type: text/html
Content-Length: 1120
Date: Thu, 20 Nov 2003 10:14:46 GMT

<title>500 Servlet Exception</title>
<h1>500 Servlet Exception</h1>
<code><pre>
java.lang.UnsupportedOperationException:
com.caucho.hessian.io.JavaDeserializer@xxx
        at com.caucho.hessian.io.Deserializer.readList(Deserializer.java:73)
        at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java:918)
        at
com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:180)
        at
com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:168)
        at
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:113)
        at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
        at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
        at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:255)
        at com.caucho.server.port.TcpConnection.run(TcpConnection.java:315)
        at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:356)
        at com.caucho.util.ThreadPool.run(ThreadPool.java:305)
        at java.lang.Thread.run(Thread.java:534)
</pre></code>
<hr /><small>
Resin-3.0.s031119 (built Wed, 19 Nov 2003 05:16:50 PST)
</small>
-------------------------------------------------------------------------

-daniel
Received on Thu 20 Nov 2003 02:21:45 -0800

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:40 PDT