incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesus Ibanez <jesusiba...@gmail.com>
Subject Insert from java Servlet
Date Mon, 22 Mar 2010 03:47:11 GMT
Hello all!

I am trying to insert some data into a column from a java servlet (the name
of the servlet is Save) but when I run it, tomcat gives me this error:

Mar 21, 2010 11:25:12 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet Save as unavailable
Mar 21, 2010 11:25:12 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Allocate exception for servlet Save
java.lang.ClassNotFoundException:
org.apache.cassandra.service.InvalidRequestException
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1116)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
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:852)
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:619)

I'm using Apache Tomcat 6, Cassandra 0.5.1, JDK 6 and Eclipse 3.5.2.

Does anyone know why is this happening and how to fix it?

Thanks in advance!

Jesús.

Mime
View raw message