How to find all the http sessions present on Websphere Application Server?

I am trying to solve out of memory issues in our application in Websphere 6.1.
I tried using Heap Analyzer to find out what is killing the server.
It seems to me that the problem is due to some hashmap occupying huge memory on a httpsession.
Now I am trying to find out a way to see all the sessions present at any point on the application server.
Is there any way through which I can accomplish this?
There could be some Websphere api that can help me find all the sessions present on the server.

There is some counters available on PMI that can tell you the session size.
Also, you can try MessAdmin . It is a very easy to use tool, that can tell you all about your session object (Besides other things).

Regards,

Marcelo Sousa Ancelmo - Brazil

Giriraj Bhojak
Ranch Hand

Joined: Apr 03, 2008
Posts: 72

posted Jan 13, 2010 03:00:42

0

Thanks Marcelo....
I tried looking at MessAdmin.
My only concern there was that i needed to modify deployment descriptor for that to take effect.
The application is already in stress test environment. Hence couldn't proceed with that.

What is PMI?

I was hoping there could be some Websphere api that i can use to make some kind of rmi call to find the information about http sessions.

PMI = Perfomance Monitoring Infrastructure
Basically, it is a bunch of data collectors that you can turn on to see what is going on in your WAS enviroment.
More information about this feature you can find in WebSphere 6.1 Infocenter, find for PMI
There is also an API, but it is not well documented, search for it in the link above.

Regards,

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com

subject: How to find all the http sessions present on Websphere Application Server?