Tuesday, March 22, 2016

How to connect to localhost jdeveloper mbean server using jconsole

Weblogic runs a built-in JMX server.  You can also add your own mbeans for managing your application.

JConsole is a JMX browser that comes with Java.

Here is the command line that I use to connect to the integrated web logic server running with jdeveloper.  You will need to adjust the parameters for your own JDK and Jdeveloper installation.

jconsole -J-Djava.class.path=c:/java/jdks/jdk1.7.0_51/lib/jconsole.jar;c:/java/jdks/jdk1.7.0_51/lib/tools.jar;C:/java/ide/JDev11.1.1.7/wlserver_10.3/server/lib/wljmxclient.jar -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote

When you run this you will get connection dialog

In Remote Process Enter
For username/password enter the values you configured for the integrated weblogic server when you installed jdeveloper

You may get Connection failed because it attempts to connect over secure connection.  Click the "Insecure" button and you should connect and see the page below

No comments:

Post a Comment