I got an error when trying to use Hessian webservices inside RIFE
with RIFE
version 1.5.1 and Hessian v. 3.0.20.
Apparently Spring had a similar problem, due to a change in the
API between
the 3.0.19 and 3.0.20 hessian releases:
http://maillist.caucho.com/pipermail/resin-interest/2006-August/
000022.html
I've reproduced the stack trace below, and added info to the wiki.
The 3.0.19 jar (which works with the current version of RIFE) can
be found
here:
http://caucho.com/hessian/download/hessian-3.0.19.jar
[java] Jan 4, 2007 11:45:44 AM com.uwyn.rife.engine.Gate
handleRequest
[java] SEVERE: Error on host localhost:8080/
[java] com.uwyn.rife.engine.exceptions.EngineException:
java.lang.NoSuchMethodError:
com.caucho.hessian.server.HessianSkeleton.invoke(Lcom/caucho/
hessian/io/Hess
ianInput;Lcom/caucho/hessian/io/HessianOutput;)V
[java] at
com.uwyn.rife.engine.elements.WebservicesHessian.processElement
(WebservicesH
essian.java:93)
[java] at
com.uwyn.rife.engine.ElementContext.processContext
(ElementContext.java:443)
[java] at
com.uwyn.rife.engine.RequestState.service(RequestState.java:342)
[java] at com.uwyn.rife.engine.Gate.handleRequest
(Gate.java:421)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39
)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl
.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
com.uwyn.rife.servlet.RifeFilter.doFilter(RifeFilter.java:142)
[java] at
org.mortbay.jetty.servlet.WebApplicationHandler
$CachedChain.doFilter(WebAppl
icationHandler.java:823)
[java] at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
(WebApplicationHandl
er.java:473)
[java] at
org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:567)
[java] at
org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
[java] at
org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext
.java:635)
[java] at
org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
[java] at org.mortbay.http.HttpServer.service
(HttpServer.java:954)
[java] at
org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
[java] at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
[java] at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
[java] at
org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:244)
[java] at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
[java] at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
[java] Caused by: java.lang.NoSuchMethodError:
com.caucho.hessian.server.HessianSkeleton.invoke(Lcom/caucho/
hessian/io/Hess
ianInput;Lcom/caucho/hessian/io/HessianOutput;)V
[java] at
com.uwyn.rife.engine.elements.WebservicesHessian.processElement
(WebservicesH
essian.java:83)
[java] ... 21 more
-----
CONFIDENTIALITY NOTICE: The information contained in this message
may be privileged and confidential and protected from disclosure.
If the reader of this message is not the intended recipient, or
responsible for delivering it to the intended recipient, please
be advised that any distribution, dissemination, copying or other
transmission or use of the information contained in this message
or its enclosed attachments is strictly prohibited. Please
notify us immediately if you have received this message in error
by replying to the sender of the message and deleting it from
your computer. Thank you.
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users