permaculture playing cards*
The moose likes Websphere and the fly likes How to find all the http sessions present on Websphere Application Server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to find all the http sessions present on Websphere Application Server?" Watch "How to find all the http sessions present on Websphere Application Server?" New topic
Author

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

Giriraj Bhojak
Ranch Hand

Joined: Apr 03, 2008
Posts: 71
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.

Thanks,
Giriraj.
Marcelo Sousa Ancelmo
Ranch Hand

Joined: Jan 17, 2002
Posts: 497

Giriraj,

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: 71
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.
Marcelo Sousa Ancelmo
Ranch Hand

Joined: Jan 17, 2002
Posts: 497

Giriraj,

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find all the http sessions present on Websphere Application Server?
 
Similar Threads
how much memory used by session?
Remote Sun server start/stop
Memory associated with an application
Too many class loaders?
Auto Session logoff