You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use Redis for session storage with jetty-runner and jetty-redis-session with my Grails app war but I don't see any session data in Redis. The Redis server is local. The app works fine including session timeout but it looks like sessions are stored in memory or somewhere other than my local Redis server.
I am trying to use Redis for session storage with jetty-runner and jetty-redis-session with my Grails app war but I don't see any session data in Redis. The Redis server is local. The app works fine including session timeout but it looks like sessions are stored in memory or somewhere other than my local Redis server.
Here is my context.xml
Is jetty-redis-session configured correctly?
OS is Mac OS Catalina version: 10.15.2
Redis version: 5.0.6
Jetty-runner version: 9.4.9.v20180320
Java version: openjdk version "1.8.0_232"
It looks like Jetty is storing sessions but not in Redis, see log.txt
Below is how I startup my app:
/Users/myusername/.sdkman/candidates/java/current/bin/java -Dgrails.env=development -Dorg.eclipse.jetty.server.Request.maxFormKeys=2000 -Djetty.base=jetty/homebase -Djetty.home=jetty/homebase -Djava.io.tmpdir=/Users/johnruggentaler/jetty/tmpdir -Dorg.eclipse.jetty.server.session.LEVEL=DEBUG -Xmx4096m -Xms4096m -jar jetty/jetty-runner.jar --config bin/jetty.xml --port 8080 --stop-port 8081 --stop-key killit --lib jetty/lib --log logs/yyyy_mm_dd-requests.log --out logs/yyyy_mm_dd-output.log context.xml
Thanks in advance!
The text was updated successfully, but these errors were encountered: