Session Info From BEA Weblogic Console

Posted on 2009-04-08
Last Modified: 2013-12-10
Session Info From Weblogic Console:-
we are using weblogic 8.1
We  can get the information about the sessions from the weblogic admin console but the information is lost when the browser is closed.

We want to capture this information. say for example :- How many users are there at a particular time?

How can we achieve this??  Any help will be appreciated.

Question by:ballioballi
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
LVL 10

Expert Comment

ID: 24107194
Can you be more specific on what you are trying to do.

Author Comment

ID: 24134564
1. I login to the weblogic console as system/password and see the total number of concurrent sessions.It says 20 sessions.(for example)

2. I want to capture this information every hour  with some script so that I need not to login again and again every hour.

3. The requirement is that the management wants the login information every hour. Right now I am just login every hour and capture this information and put it in an excel sheet but I could not able to take this information between 10PM -6AM.

This is what is my requirement. Please let me know if I explained it properly.


Author Comment

ID: 24144400
I mean the "total active sessions count in weblogic 8.1"

Hope, It make sense now.
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

LVL 10

Expert Comment

ID: 24146138
Yeah, I do understand it clearly now.

Can you check the following link. you might have to modify a little bit and replace with your values to get this
LVL 10

Accepted Solution

rajesh_bala earned 500 total points
ID: 24146170
You can also try the following weblogic.Admin to ensure you are getting right value.

1. open a command prompt.
2. Navigate to \bin folder. run This will set appropriate classpaths etc.
3. Run the following command. Please change it according to your webapps and server names.

java weblogic.Admin -username weblogic -password weblogic GET -pretty -mbean "examples:ApplicationRuntime=examplesServer_examplesWebApp,Location=examplesServer,Name=examplesServer_examplesServer_examplesWebApp_examplesWebApp,ServerRuntime=examplesServer,Type=WebAppComponentRuntime" -property OpenSessionsCurrentCount

This would print the number of open sessions in the system. ENSURE YOU CHANGE THE SERVERNAME AND WEBAPP NAME.

Author Comment

ID: 24413970
I am not able to find

I have ./ only.


Author Comment

ID: 24415527
java weblogic.Admin -username weblogic -password weblogic GET -pretty -mbean "examples:ApplicationRuntime=examplesServer_examplesWebApp,Location=examplesServer,Name=examplesServer_examplesServer_examplesWebApp_examplesWebApp,ServerRuntime=examplesServer,Type=WebAppComponentRuntime" -property OpenSessionsCurrentCount

You just said to put 2 variables but I am confused with so many variables:-

I am rewriting it :-

change username ----system          (I got this)
change password-----password       (I got this)

what is ---- 1.  ApplicationRuntime=examplesServer_examplesWebApp
                   2.  Location=examplesServer
                   3   Name=examplesServer_examplesServer_examplesWebApp_examplesWebApp
                    4. ServerRuntime=examplesServer
                    5. Type=WebAppComponentRuntime
Please clarify.

Author Closing Comment

ID: 31568365

Featured Post

Percona Monitoring and Management and Grafana

Proactive monitoring is vital to a highly-available environment. We have a quick start guide on Experts Exchange for Grafana users.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question