ROP tutorial update
-------------------

         Key: CAY-627
         URL: http://issues.apache.org/cayenne/browse/CAY-627
     Project: Cayenne
        Type: Bug

  Components: Cayenne Examples  
    Versions: 1.2 [STABLE]    
    Reporter: Tore Halset
    Priority: Minor


Tried to set up the tutorial rop client and server. I did it some months ago 
and everything went ok, but not this time :/

First problem was that jetty returned this error:
HTTP ERROR: 500
Configuration error
RequestURI=/cayenne-service

I fixed this by changing from "Use Options" to "Use a Jetty XML configuration 
file" in JettyLauncher and point to ...cayenne-tutorial/jetty-run-config.xml. I 
do not know if this should be fixed in 
http://cwiki.apache.org/CAYDOC/tutorial-webapp.html or if it will break 
something else..

Second problem is with hessian. The hessian-3.0.20.jar availiable on 
http://www.caucho.com/hessian/#Java result in the following error..

java.lang.NoSuchMethodError: 
com.caucho.hessian.server.HessianSkeleton.invoke(Lcom/caucho/hessian/io/HessianInput;Lcom/caucho/hessian/io/HessianOutput;)V
        at 
org.objectstyle.cayenne.remote.hessian.service._HessianServlet.service(_HessianServlet.java:388)

Switching to hessian-3.0.13.jar fix this problem, but that version is not 
availiable from caucho any more :/


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/cayenne/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to