How can I connect to Weblogic remotely using JConsole?

appshare.co picture appshare.co · Jan 17, 2011 · Viewed 22.9k times · Source

Which URL, port and weblogic server side settings do I need to use?

Answer

fglez picture fglez · Aug 10, 2011

It depends if you want to connect to a WebLogic MBean server (Domain, Runtime, Edit) or platform (JDK) MBean server (See MBean Servers).

Connecting with JConsole to a WebLogic MBean server is usually a real pain:

  1. Enable Anonymous Admin Lookup if version is lower than 10.3 (See WebLogic anonymous user permissioning)
  2. Enable IIOP Protocol for Admin Server and Application Servers (See Enable and configure IIOP)
  3. Launch jconsole with a custom commandline (See Managing WebLogic servers with JConsole)

Connecting to platform MBean server is like any other JVM (See How to activate JMX on my JVM for access with jconsole), but you would not see any WebLogic MBeans unless you configure WebLogic to use it (See Registering MBeans in the JVM Platform MBean Server).