This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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).
Marcelo Sousa Ancelmo - Brazil
Joined: Apr 03, 2008
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.