which version of memcached-session-manager are you using
(core/tomcat6/tomcat7/kryo)?
Which jars do you have in tomcat's lib dir, which jars in WEB-INF/lib
(complete listings)?
Do you have other exceptions/stack traces in the log file? I'm
especially missing the thread that triggered spymemcached...
Cheers,
Martin
--
Dennis Brakhane, Martin Grotzke und Ole Langbehn GbR
Breitenfelder Str. 13c, 20251 Hamburg
Cheers,
Martin
Perhaps another option would be to load the MemcachedClient using the
classloader of one of your apps classes - not sure if this works. The
problem will probably be to assign it to a field of type MemcachedClient:
Object mcObj = SomeOfYourClasses.class.getClassLoader()
.loadClass("net.spy.memcached.MemcachedClient").newInstance();
MemcachedClient mc = (MemcachedClient)mcObj;
// the last line will probably throw a ClasscastException telling you
that MemcachedClient cannot be cast to MemcachedClient.
Hopefully the first one is an option for you :-)
Cheers,
Martin
Probably we could also improve msm to load the MemcachedClient optionally from WEB-INF/lib. Do you want to submit an issue for this?
Cheers,
Martin
Sorry for confusion :-) When I said "load the MemcachedClient optionally
from WEB-INF/lib" I left out "... when MemcachedClient is not available
in $CATALINA_HOME/lib". Though, I had a quick look at it, and it would
be some effort, as all "hard" references on MemcachedClient would have
to be removed in msm and replaced by some indirection.
Is it an option for you to serialize/deserialize beans and store the
byte[] in memcached?
Cheers,
Martin