Trining to debug i get this error in the tomcat's log:

10-giu-2011 17.16.34 org.apache.catalina.core.StandardWrapperValve
invoke
GRAVE: Servlet.service() for servlet rpc threw exception
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.commons.beanutils.MethodUtils
        at
net.sf.qooxdoo.rpc.RpcServlet.getServiceInstance(RpcServlet.java:136)
        at net.sf.qooxdoo.rpc.RpcServlet.handleRPC(RpcServlet.java:351)
        at net.sf.qooxdoo.rpc.RpcServlet.doPost(RpcServlet.java:465)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:679)

But in the build.xml the libraries are included.

<lib dir="lib"><exclude name="servlet-api.jar"/></lib>

in the WAR file under WEB-INF/lib are present

commons-beanutils-1.6.1.jar
commons-collections-2.1.jar

the version of tomcat is: Apache Tomcat/6.0.28

anyone with the same problem?

Sp




Il giorno ven, 10/06/2011 alle 14.33 +0200, Simone Pandolfo ha scritto:
> Hi All,
> 
> I'm training to make a java backend.
> 
> I have dowloaded the contrib: http://qooxdoo.org/contrib/project/rpcjava
> as is often the documentation is not updated to latest version, and
> after i have deployed the WAR the link for the test don't exist:
> 
> http://localhost:8080/qooxdoo/sample/html/test/RPC_1.html
> 
> For try the rpc backend i have dowloaded the RpcExample:
> 
> http://qooxdoo.org/contrib/project/rpcexample
> 
> Modified the build.xml for include the rpcexample
> 
> Deployed again, but i got this error message:
> 
> Async(1) exception: Transport error 0: Unknown status code. Possibly due
> to a cross-domain request?<p>Are you sure you configured
> rpcexample.RemoteDataModel.URL and rpcexample.RemoteDataModel.SERVICE?
> 
> the original URL was "../../RpcPhp/1.2.0/services/index.php"
> I try to insert: ../.qxrpc
> 
> The server return a 500 error, but i can't find any information how to
> understand why, or how to create and test an RpcJava backend.
> 
> Any hits?
> 
> I have deployed the war in a OC4J enviroment.
> 
> best Regards
>  Sp
> 
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
------------------------------


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to