Sri legend

Greenhorn
+ Follow
since Dec 06, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sri legend

Hi,

I was trying to use Visual VM for monitoring and managing resources for websphere 7. However I wasn't able to connect to applications / Mbeans which got deployed on websphere 7 using Visual VM. Can someone suggest me, what would be done to use Visual VM with websphere 7.
I was getting <unknown Application>(pid xxxx) in the application tab.

I did the following -
1) set the jmxremote manegement port number in management.properties file
2) set the management property file location as Generic JVM arguments in websphere admin.
3) rebounce the JVM.
3) Open the VirualVM


Regards,
SL
11 years ago
Hi,

I am trying to use JConsole for monitoring and managing resources for websphere 7. However I wasn't able to connect to applications / Mbeans which got deployed on websphere 7 using JConsole. Can someone suggest me, what would be done inorder to use JConsole with websphere 7.

I did the following -
1) set the jmxremote manegement port number in management.properties file
2) set the management property file location as Generic JVM arguments in websphere admin.
3) Open the JConsole using the following batch file... was-jmx.bat

was-jmx.bat
----------------------
@echo off

:: user configuration

set HOST=localhost:2814
set WAS_HOME=C:/IBM/WAS7

set PROPS_DIR=C:/IBM/WAS7/profiles/AppSrv01/properties

:: properties

set PROPS=
set PROPS=%PROPS% -Dcom.ibm.CORBA.ConfigURL=file:/%PROPS_DIR%/sas.client.props
set PROPS=%PROPS% -Djava.naming.provider.url=corbaname:iiop:%HOST%

:: classpath

set CLASSPATH=
set CLASSPATH=%CLASSPATH%;%WAS_HOME%\java\lib\tools.jar
set CLASSPATH=%CLASSPATH%;%WAS_HOME%\runtimes\com.ibm.ws.admin.client_7.0.0.jar
set CLASSPATH=%CLASSPATH%;%WAS_HOME%\runtimes\com.ibm.ws.ejb.thinclient_7.0.0.jar
set CLASSPATH=%CLASSPATH%;%WAS_HOME%\runtimes\com.ibm.ws.orb_7.0.0.jar
set CLASSPATH=%CLASSPATH%;%WAS_HOME%\java\lib\jconsole.jar

:: start jconsole using was jdk

start %WAS_HOME%\java\bin\javaw.exe -classpath %CLASSPATH% %PROPS% sun.tools.jconsole.JConsole service:jmx:iiop://%HOST%/jndi/JMXConnector

Regards,
SL
11 years ago