Visit the mobile site

barcode
 

Home arrow Random Stuff arrow Connecting JConsole to Weblogic 9.2
Connecting JConsole to Weblogic 9.2
Thursday, 16 August 2007

Getting Java 1.5 jConsole to connect to Weblogic

* this has been tested on Weblogic 9.2

 

In order to get the 1.5 jConsole to connect to Weblogic's JMX service it requires a number of tweaks to the server.

These changes can easily be made via the Admin console found at http://localhost:7001/console (assuming the server is on localhost and using port 7001).

To login you will need the username/password configured during the domain creation.

Two key changes are required to make the domain work: Allowing anonymous JMX access and enabling IIOP

Step by step 

  1. To enable the anonymous JMX access goto the domain - then security table then general and tick the AnonymousAdminLookup check box. Save the setting (you'll have to lock the domain to edit it).
  2. Next click on the server, then settings then the protocol tab then IIOP and select enable IIOP and also add in a username and password. It doesn't matter what these values are but it needs them to be set even when using anonymous access!
  3. Save and activate these changes (you may need to visit another tab to pesuade Weblogic to save properly). 
  4. Finally restart the server.

Then on the command line enter jConsole - select the Advanced tab and enter a JMX Url of service:jmx:rmi:///jndi/iiop://localhost:9453/weblogic.management.mbeans you should be able to leave the username/password blank.

You should be able to see a tree of the available JMX Beans in the server.

 




Bookmark here:
Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!