• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Checking active sessions connected to weblogic

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 376
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't see any update to this post... it seems that Tom Maddy updated it.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic