| Author |
JMX on WAS7
|
Sri legend
Greenhorn
Joined: Dec 06, 2010
Posts: 2
|
|
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
|
 |
Martin Schwank
Greenhorn
Joined: Jan 12, 2011
Posts: 1
|
|
Hi,
what kind of error are you getting when you try to connect?
|
 |
 |
|
|
subject: JMX on WAS7
|
|
|