Re: Distributed Wicket Session Management

2015-02-18 Thread Martin Sachs
Hi, nice to see, that there are some solutions for using wicket in a cloud. I will have a look on this. If you are using spring with wicket you should also have a look on https://github.com/spring-projects/spring-session . This project also have a RedisSession handling for various app-serveres.

Re: Distributed Wicket Session Management

2015-02-18 Thread Bryan Holladay
As I mentioned, I felt my first iteration was more of a proof of concept since it relied on IP addresses. I've just committed an update that shows how to fully rely on the session id across all servers in wicket. It uses a custom persistent manager store for tomcat to keep track of the session

Re: Distributed Wicket Session Management

2015-02-10 Thread Martijn Dashorst
I'm looking forward to hear more about this setup. It was my understanding that Wicket can't run in a non-sticky cluster setup due to the required pagemap locks to avoid concurrent updates to the component hierarchy. But I'd be very happy to hear my understanding being disproved. Martijn On

Re: Distributed Wicket Session Management

2015-02-10 Thread Tobias Soloschenko
Hi, thanks a lot! Good to know where to look for such an implementation! kind regards Tobias Am 10.02.2015 um 19:40 schrieb Bryan Holladay holla...@longsight.com: I love open source projects (Sakai guy here) and this ended up being pretty simple code. I've created a GitHub project to

Re: Distributed Wicket Session Management

2015-02-10 Thread Bryan Holladay
I love open source projects (Sakai guy here) and this ended up being pretty simple code. I've created a GitHub project to share the code: https://github.com/baholladay/WicketRedisSession It essentially is a passthrough to storing data on Redis. It relies on the Jedis library (dependency below)

Re: Distributed Wicket Session Management

2015-02-09 Thread Bryan Holladay
Thank you Martin! I was able to get it to work really simply with setting the following in my WebApplication: setSessionStoreProvider setPageManagerProvider The implementations just passively passed and retrieved the data to and from my Redis server. Thanks, Bryan On Mon, Feb 9, 2015 at 3:32

Distributed Wicket Session Management

2015-02-09 Thread Bryan Holladay
Has anyone setup wicket's AuthenticatedWebApplication sessions to use a distributed memory cache (e.g. memcached, redis)? I would like to make the sticky sessions fail over to other tomcat's and allow non sticky load balancers. For example, I tested with

Re: Distributed Wicket Session Management

2015-02-09 Thread Martin Grigorov
Hi, Since I while I want to create an integration with https://github.com/spring-projects/spring-session but I haven't had the time (and demand). The way to do it is to create custom impl of ISessionStore interface. Otherwise I remember a user in the community successfully using distributed