Re: wicket creating tons of sessions

2015-07-26 Thread Martin Grigorov
Hi,

Register a
http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpSessionListener.html
and print the stacktrace in #sessionCreated(). This way you will see where
HttpServletRequest#getSession(true) is being called.
For some reason your web container doesn't recognize old session ids and
creates new sessions.

Martin Grigorov
Freelancer. Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sun, Jul 26, 2015 at 6:16 AM, Jason Novotny jason.novo...@gmail.com
wrote:

 Hi,

 In deploying my wicket 6.2 application I noticed sessions are getting
 created like crazy-- I'm using Tomcat and the manager application and after
 only a minute, there are over 6000 sessions(!) and oddly I only navigated
 to the page once(!). Any ideas on where I can debug this to determine where
 these sessions keep getting created?

 Thanks, Jason



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket creating tons of sessions

2015-07-26 Thread Jason Novotny


Thanks Martin,

Turned out to be some weird misconfiguration with my intellij+tomcat dev 
environment.


Jason

On 7/26/15 4:03 AM, Martin Grigorov wrote:

Hi,

Register a
http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpSessionListener.html
and print the stacktrace in #sessionCreated(). This way you will see where
HttpServletRequest#getSession(true) is being called.
For some reason your web container doesn't recognize old session ids and
creates new sessions.

Martin Grigorov
Freelancer. Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sun, Jul 26, 2015 at 6:16 AM, Jason Novotny jason.novo...@gmail.com
wrote:


Hi,

In deploying my wicket 6.2 application I noticed sessions are getting
created like crazy-- I'm using Tomcat and the manager application and after
only a minute, there are over 6000 sessions(!) and oddly I only navigated
to the page once(!). Any ideas on where I can debug this to determine where
these sessions keep getting created?

Thanks, Jason



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



wicket creating tons of sessions

2015-07-25 Thread Jason Novotny

Hi,

In deploying my wicket 6.2 application I noticed sessions are getting 
created like crazy-- I'm using Tomcat and the manager application and 
after only a minute, there are over 6000 sessions(!) and oddly I only 
navigated to the page once(!). Any ideas on where I can debug this to 
determine where these sessions keep getting created?


Thanks, Jason


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org