RE: session GC

2006-03-31 Thread Bob Hall
ides to happen, my > objects under the session aren't being collected. > > so then. how can you know when the session itself > is collected (not timed out) > > > > -Original Message- > From: Farrow, Marc [mailto:[EMAIL PROTECTED] > Sent: Fri 3/31/2006 5:3

RE: session GC

2006-03-31 Thread John Powers
e finalize method in it? -Original Message- From: Wang, Hansen [mailto:[EMAIL PROTECTED] Sent: Fri 3/31/2006 5:38 PM To: Tomcat Users List Subject: RE: session GC If you would like something simple and intuitive, you can create a class and overwrite the finalized() method to print out

RE: session GC

2006-03-31 Thread John Powers
er it decides to happen, my objects under the session aren't being collected. so then. how can you know when the session itself is collected (not timed out) -Original Message- From: Farrow, Marc [mailto:[EMAIL PROTECTED] Sent: Fri 3/31/2006 5:36 PM To: Tomcat Users List Subject: RE:

RE: session GC

2006-03-31 Thread Wang, Hansen
If you would like something simple and intuitive, you can create a class and overwrite the finalized() method to print out simple log. Then, create a separate object of your class for each httpsession and add it as an attribute of the httpsession. Of cause you want to make sure that you do not keep

RE: session GC

2006-03-31 Thread Farrow, Marc
easiest way to make sure they are GC'd is to set session time-outs. -Original Message- From: John Powers [mailto:[EMAIL PROTECTED] Sent: Friday, March 31, 2006 6:07 PM To: Tomcat Users List Subject: session GC How do you know when a session is garbage collected? You can write a sessionli