Have you enabled heroku's new support for semi-sticky sessions?

https://blog.heroku.com/archives/2015/4/28/introducing_session_affinity

Martijn

On Wed, May 6, 2015 at 1:02 AM, Thies Edeling <[email protected]> wrote:
> Hi,
>
> I can't seem to get a Wicket app running on Heroku with multiple dyno's.
> Heroku doesn't have sticky sessions so I need a form of distributed
> sessions.
> I found a few old threads on running Wicket without sticky sessions but the
> solutions either do not work or I'm missing something.
>
> My stack is Wicket 6.19.0 and Jetty 9.2 and I'm trying to use Redis to
> share the session between the dyno's/nodes.
>
> When I store the HttpSession on the Jetty level I run into serialization
> issues with my @SpringBean annotated dependencies as the serializer tries
> to serialize the proxies. Marking @SpringBean annotated fields with
> transient will fix this but for some reason it seems to be invalid.
>
> When I use a SessionStoreProvider from
> https://github.com/baholladay/WicketRedisSession there's still a lot of
> stuff ending up in the HttpSession; giving me the same "No serializer found
> for class com.sun.proxy.$Proxy105" exception for @SpringBeans.
>
> Any ideas? I'm getting a bit clueless :)
>
> cheers,
> Thies



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to