We are using WLS 6.1 + SP2 :
My question is :
1) how could i know how many user session objects are there in the memeory ? ...I mean is there any JSP page or some utility that you guys can share so that i can see the weight of the session objects in memory ?
I need to debug something concerning "timeout issues" in our application running on top of WLS 6.1.
thanks,
-
how to know user sessions in memory ? (5 messages)
- Posted by: Shailesh Sharma
- Posted on: December 17 2002 10:10 EST
Threaded Messages (5)
- how to know user sessions in memory ? by Web Master on December 17 2002 11:27 EST
- how to know user sessions in memory ? by Dieter Cailliau on December 17 2002 11:32 EST
- how to know user sessions in memory ? by Shailesh Sharma on December 27 2002 19:42 EST
- jsp session monitor by Dieter Cailliau on February 06 2003 07:09 EST
- how to know user sessions in memory ? by Shailesh Sharma on December 27 2002 19:42 EST
- how to know user sessions in memory ? by Jegadisan Sankar Kumar on December 17 2002 12:11 EST
-
how to know user sessions in memory ?[ Go to top ]
- Posted by: Web Master
- Posted on: December 17 2002 11:27 EST
- in response to Shailesh Sharma
To find out the "weight"...you could serialize the session object to a file and look at its size. -
how to know user sessions in memory ?[ Go to top ]
- Posted by: Dieter Cailliau
- Posted on: December 17 2002 11:32 EST
- in response to Shailesh Sharma
We created our own jsp for that purpose. You probably have a login page for your application. If the login succeeds, add the session into a static list of sessions, otherwise, invalidate the session. -
how to know user sessions in memory ?[ Go to top ]
- Posted by: Shailesh Sharma
- Posted on: December 27 2002 19:42 EST
- in response to Dieter Cailliau
is it possible that you can send the code of this JSP to me ?
thanks, -
jsp session monitor[ Go to top ]
- Posted by: Dieter Cailliau
- Posted on: February 06 2003 19:09 EST
- in response to Shailesh Sharma
sure, if you leave an email address or upload directory here. -
how to know user sessions in memory ?[ Go to top ]
- Posted by: Jegadisan Sankar Kumar
- Posted on: December 17 2002 12:11 EST
- in response to Shailesh Sharma
It depends in part on the mechanism you employ for session handling. As far as the specifications are concerned, or the tools, I don't believe any tool exists that would allow you to achieve exactly what you are trying to achieve.
For HTTP Session objects, you can make use of the events to handle it. For EJB Session objects, I think it might be a bit more difficult, as it is the container that decides when to passivate and activate the EJBs. Unless you implement a specific methodology to handle the session handling, I suppose it is gonna be a pretty troublesome thing to achieve..