Solved

Session Info From BEA Weblogic Console

Posted on 2009-04-08
8
801 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
[X]
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
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WS 8.5 - Associating Application With Shared Reference Library 4 221
constuctor calling other constructor 2 84
spring AOP 6 91
Basics of Drool Rule Engine with few samples 2 90
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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