yufish / memcached-session-manager

Automatically exported from code.google.com/p/memcached-session-manager
0 stars 0 forks source link

warning level log "[WARN] No validity info available for session ..." #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

# need JDK8 and maven3.x
0. start memcached on localhost:11211.
1. git clone https://github.com/nabedge/msmIssueSample.git
2. cd msmIssueSample
3. mvn clean compile exec:java -Dexec.mainClass=com.example.Application

When access to http://localhost:8080/ ,
 "[WARN] No validity info available for session 01234ABCD...(sessionid)"

I feel there are no need to show warning level log .

Original issue reported on code.google.com by nabedge on 6 Nov 2014 at 3:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
It becomes good if I do not use 'setStorageKeyPrefix("static:xx")' at the line 
32 of com/example/Application.java .

Original comment by nabedge on 6 Nov 2014 at 9:21

GoogleCodeExporter commented 9 years ago
Sounds like issue #210. In #210 I just attached a jar with that fix, can you 
test this?

Original comment by martin.grotzke on 6 Nov 2014 at 11:09

GoogleCodeExporter commented 9 years ago
Thanks for your reply.
Could you upload 1.8.3-SNAPSHOT to sonatype snapshot repository ?
https://oss.sonatype.org/content/repositories/snapshots/

I use maven dependency but I could not "mvn install:install-file" the snapshot 
version jar file into my local repository for some reason.

Original comment by nabedge on 6 Nov 2014 at 1:22

GoogleCodeExporter commented 9 years ago
OK!
I download the source from github and "mvn install"ed the 1.8.3-SNAPSHOT .

It works fine!

I'm waiting to become downloadable the 1.8.3 RELEASE version from maven central 
repository .
Thank you.

Original comment by nabedge on 6 Nov 2014 at 1:50

GoogleCodeExporter commented 9 years ago
I just released 1.8.3, it should soon be available on maven central.

Original comment by martin.grotzke on 6 Nov 2014 at 10:00