• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Checking active sessions connected to weblogic

 
Usha Seetharaman
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do we monitor the number of active sessions connected to weblogic? We need to monitor the active sessions and then shutdown the weblogic server.
Is it done through SNMP? I was thinking of using the below command but I get "unregistered" error.

java weblogic.Admin -adminurl <localhost:7001> -username <weblogic> -password <weblogic> GET -pretty -type serverRuntime -property serverRuntimeOpenSocketsCurrentCount

Is there some more configurations that needs to be done?
Is there any other approach to check the number of active sessions?

Any help would be greatly appreciated.
 
Renjan Thomas
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

You can monitor from weblogic console....In admin console if you got Servers-->managedserver-1(eg name)-->monitoring ..... you can see the below :-

Monitor all Active Queues
Monitor all Connections
Monitor all Active Sockets

Or else if you are looking for web sessions(you can view current sessions by going to the specific web module)..... go to deployment tab in weblogic console --->specific web module --> Monitoring --> Sessions.



 
Usha Seetharaman
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the reply. I need to retrieve the values using a script and shutdown based on the number of active sessions open.

I found the solution to it. We can use WLST to achieve it.
 
Usha Seetharaman
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have one more question to this . When I try monitoring the sessions from the console, the number of sessions increases each time I open the browser and access the application but when I close the browser, the number of sessions does not seem to be going down.

Is this a bug with Weblogic or am I missing something here. Please help
 
German Gonzalez-Morris
Ranch Hand
Posts: 260
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see any update to this post... it seems that Tom Maddy updated it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic