Connecting JMX client to Weblogic
There is an "experimental" JMX client inside the JDK called jconsole. You can start this GUI and then enter a Remote connection address for your Weblogic server.
To enable it to connect however, you have to add the JMX options to the Weblogic startup. (See this page: http://malliktalksjava.wordpress.com/2010/08/19/enabling-jmx-port-in-weblogic/)
This involves editing your setDomainEnv.cmd script for your Weblogic domain, and adding some options:
Then restart Weblogic. It should now be listening on port 8006 for clients.
Start jconsole, enter address in Remote tab, and Connect. You should now be able to browse MBeans. My Weblogic is running Sun Java 5, not sure if it's the same if you're running it under JRockit or something else...
To enable it to connect however, you have to add the JMX options to the Weblogic startup. (See this page: http://malliktalksjava.wordpress.com/2010/08/19/enabling-jmx-port-in-weblogic/)
This involves editing your setDomainEnv.cmd script for your Weblogic domain, and adding some options:
set JAVA_OPTIONS= %JAVA_OPTIONS%
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8006
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
Then restart Weblogic. It should now be listening on port 8006 for clients.
Start jconsole, enter address in Remote tab, and Connect. You should now be able to browse MBeans. My Weblogic is running Sun Java 5, not sure if it's the same if you're running it under JRockit or something else...

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
Links to this post:
Create a Link
<< Home