ENABLING JMX PORT IN WEBLOGIC


Weblogic runs with domains. With different domains you can enable the JMX port by fallowing the below steps.

Step 1: Go to your domain bin folder, which you want to enable JMX remote port.

Ex: C:\bea\wlserver_10.3\samples\domains\wl_server\bin

Step 2: edit the “setDomainEnv.cmd” file and add the fallowing code as above line of the set CLASSPATH

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

Step 3: Restart the weblogic server.
Step 4 : Try to connect for the Jconsole with host:8006, It will connect to your domain of weblogic server.