Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using jetty-redis-session with jetty-runner #2

Open
jrAtAustin opened this issue Dec 29, 2019 · 0 comments
Open

Using jetty-redis-session with jetty-runner #2

jrAtAustin opened this issue Dec 29, 2019 · 0 comments

Comments

@jrAtAustin
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant