Jan 11, 2011

Jconsole

How to Launch JConsole to connect Weblogic MBeans?

1. Launch Jconsole using below command.
%JAVA_HOME%/bin/jconsole -J-Djava.class.path=%JAVA_HOME%\lib\jconsole.jar;%JAVA_HOME%\lib\tools.jar;%WLS_HOME%\server\lib\weblogic.jar -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote (for Windows)
or
jconsole -J-Djava.class.path=$JAVA_HOME/lib/jconsole.jar:$JAVA_HOME/lib/tools.jar:$WLS_HOME/server/lib/weblogic.jar -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote (for Linux)

2. Select Remote radio button on New Connection screen & Enter
service:jmx:t3://:/jndi/weblogic.management.mbeanservers.runtime for Remote process text box

3. Press 'Connect' by providing Username & Password.