Anyone using spring-session redis with Grails 3?

231 views
Skip to first unread message

Eric Helgeson

unread,
Jul 23, 2015, 10:12:52 AM7/23/15
to Grails Dev Discuss
Hey all,

I'm trying to get spring-session backed by redis working with the spring boot guide: 


My commit from a fresh grails 3.0.3 app: 


It connects to redis and all the beans are created, but sessions don't get stored. If I add spring-security starter sessions do get stored but do not work after reboots of app (get a new session even though its valid, no objects on session are preserved). The sample from spring boot does work -  https://github.com/spring-projects/spring-session/tree/master/samples/boot

Wondering if Grails is doing something different to the sessions that's incompatible with spring-session?

This would be a pretty nice feature for cluster a bunch of grails 3 jar'd apps with just a few lines of code. Hope I'm just missing something simple.

Thanks!
-Eric

Bobby Warner

unread,
Jul 24, 2015, 1:49:34 PM7/24/15
to Grails Dev Discuss, er...@agileorbit.com
This issue is being worked on here -- https://github.com/spring-projects/spring-session/issues/245


Thanks,
Bobby
Reply all
Reply to author
Forward
0 new messages