Skip to content
timshadel edited this page Sep 12, 2010 · 6 revisions

Welcome to the tomcat-memcached-store wiki!

This module was written with Tomcat 5.5, and is very beta. Please test carefully with your app before trying it in a production environment.

An example context.xml can be found at src/main/resources/session-test.xml

This project works with Tomcat 5.5, but it does not run under Tomcat 6. I have tested 6.0.13 to 6.0.16 and all generate an error at runtime, even though the tests all pass when compiling against the necessary jars that come with Tomcat 6.


Jul 5, 2008 4:36:01 PM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
java.lang.NullPointerException
	at org.apache.catalina.session.ManagerBase.remove(ManagerBase.java:890)
	at com.timshadel.tomcat.session.store.memcached.AlwaysPassivateValve.invoke(AlwaysPassivateValve.java:25)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:613)

Clone this wiki locally