do you see a Set-Cookie header in a response? If not your app simply
does not create a session.
You may also simplify your situation for analyzing this by accessing
tomcat(s) directly.
Cheers,
Martin
--
Martin Grotzke
http://www.javakaffee.de/blog/
de.javakaffee.web.msm.MemcachedBackupSessionManager.level = FINEST
de.javakaffee.web.msm.SessionIdFormat.level = FINEST
de.javakaffee.web.msm.NodeAvailabilityCache.level = FINEST
Perhaps you have to change java.util.logging.ConsoleHandler.level to
FINE, not sure about that.
What urls do you request? Can you provide more logging output, so that
I can get an idea what's happening?
Alternatively, can you provide a very basic quickstart .war that shows
the described behaviour so that I can have a look at the issue
directly?
This would save lots of turnarounds probably :-)
Cheers,
Martin
--
Martin Grotzke
http://www.javakaffee.de/blog/
Can you change $CATALINA_HOME/conf/logging.properties and add these lines?
de.javakaffee.web.msm.MemcachedBackupSessionManager.level = FINEST
de.javakaffee.web.msm.SessionIdFormat.level = FINEST
de.javakaffee.web.msm.NodeAvailabilityCache.level = FINEST
Perhaps you have to change java.util.logging.ConsoleHandler.level to
FINE, not sure about that.
What urls do you request? Can you provide more logging output, so that
I can get an idea what's happening?
Alternatively, can you provide a very basic quickstart .war that shows
the described behaviour so that I can have a look at the issue
directly?
This would save lots of turnarounds probably :-)
There's an msm sample on github btw. (this is currently configured for
playing with non-sticky sessions IIRC):
http://github.com/magro/msm-sample-webapp
Perhaps this can help finding the issue...
Cheers,
Martin
PS: right now I have to approve your messages due to the google group
settings that shall prevent too much spam, if you don't mind it would
be easier if you sign up as member of the msm group...
> Regards
> --
> Vicente Aguilar <bis...@bisente.com> | http://www.bisente.com
>
--
Martin Grotzke
http://www.javakaffee.de/blog/
There's an msm sample on github btw. (this is currently configured for
playing with non-sticky sessions IIRC):
http://github.com/magro/msm-sample-webapp
good that it's working for you now!
I just tested the sample app with the following configuration within
the server.xml:
<Context path="" docBase="ROOT">
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
memcachedNodes="n1:localhost:11211 n2:localhost:11212"
failoverNodes="n1"
requestUriIgnorePattern=".*\.(png|gif|jpg|css|js|ico)$"
sessionBackupAsync="false"
sessionBackupTimeout="100"
transcoderFactoryClass="de.javakaffee.web.msm.serializer.kryo.KryoTranscoderFactory"
customConverter="de.javakaffee.web.msm.serializer.kryo.JodaDateTimeRegistration,de.javakaffee.web.msm.serializer.kryo.WicketSerializerFactory"
/>
</Context>
I also removed the context.xml, and with this config msm worked fine,
session got the -n* suffix.
I changed the SetupAndConfiguration page so that the Context element is
<Context path="" docBase="ROOT">
to be sure that this is working :-)
Cheers,
Martin
--
Martin Grotzke
http://www.javakaffee.de/blog/