I am following this setup guide:
http://code.google.com/p/memcached-session-manager/wiki/SetupAndConfiguration
and I am going nuts trying to configure 2 tomcats with memcached-
session-manager.
I just saw that memcached itself is installable only under linux.
do I need a runnig memcached to have memcached-session-manager
working?
I'd recommend to add msm-kryo-serializer (and dependencies) dependency
to WEB-INF/lib. If it's placed in tomcat/lib one might get exceptions as
soon as classes from the webapp (WEB-INF/{lib,classes}) are
serialized/deserialized.
If there are classloader issues I'd also suggest to remove the
transcoderFactoryClass attribute from the configuration so that the
default serializer (java) will be used - as you suggest in your last
mail, Thomas.
As soon as everything else is fine one can check out kryo again.
>
> 2) Don't know. We are currently NOT in production and just on our test
> server. If you find it, please share it - it's interessting for us, too.
Not sure about couchbase stats.
msm publishes some statistics via jmx (msmStatCachedDataSizeInfo for
serialized session size):
http://code.google.com/p/memcached-session-manager/wiki/JMXStatistics
>
> 3) What exactly do you mean? Why do you want to install 2 couchbase on 1
> server? IMO 1 node should be enough then.
Btw, msm also supports membase buckets, so one can e.g. use
memcachedNodes="http://localhost:8091/pools", username="default" and
password="" for the "default" membase bucket (SetupAndConfiguration page
provides more details).
Cheers,
Martin
Cheers,
Martin
On 04/18/2012 12:53 PM, choesang wrote:
> I have mvn dependencies for kryo and jettison in my pom.xml and the
> related jars are in my deployed application. but when i try to use
> either *kryo as my serializer* or try *using membase bucket *I get
--
Brakhane, Grotzke und Langbehn Informatiker und Physiker PartG
Breitenfelder Str. 13c, 20251 Hamburg
Amtsgericht Hamburg, PR 795
Please move jettison (and its deps if any) to tomcat/lib.
Cheers,
Martin