Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable JMX on Weblogic 10.x

Tags:

jmx

weblogic

I have an application that is JMX enabled. It has its own JMX Agent and some MBeans. When I launch the application in WebLogic, I am able to connect to the JMX agent via the RMI url and perform the operations on MBeans via "JConsole".

But when I get into the Weblogic console, I can not see any JMX consoles! How can I enable the JMX console in Weblogic ?

like image 452
EclipseGuru Avatar asked Jun 18 '09 17:06

EclipseGuru


1 Answers

Add the following JVM parameters to your Weblogic startup scripts:

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

and restart the server. You'll be able to connect remotely via JConsole/VisualVM/etc at host:8888 then.

like image 123
Kristof Jozsa Avatar answered Sep 18 '22 05:09

Kristof Jozsa