Solved

Session Info From BEA Weblogic Console

Posted on 2009-04-08
8
793 Views
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.

0
Comment
Question by:ballioballi
  • 5
  • 3
8 Comments
 
LVL 10

Expert Comment

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

Author Comment

by:ballioballi
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.


0
 

Author Comment

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

Hope, It make sense now.
0
 
LVL 10

Expert Comment

by:rajesh_bala
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

http://psadmin.blogspot.com/2008/02/weblogic-monitoring-scripts.html
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 10

Accepted Solution

by:
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 setDomainEnv.sh/setDomainEnv.cmd. 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.
0
 

Author Comment

by:ballioballi
ID: 24413970
I am not able to find setDomainEnv.sh.

I have ./setEnv.sh only.

Thanks,
0
 

Author Comment

by:ballioballi
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.
   
0
 

Author Closing Comment

by:ballioballi
ID: 31568365
NOT WORKED
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jBoss vs. other App Servers 11 383
How to change Java port from using port 10000 3 114
Should we upgrade from Tomcat 7 to Tomcat 8 ? 5 605
reflections, dynamic class loading 3 66
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now