Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Examples/JMX/MBeans WebLogic"

m (Configuring WebLogic Server Domain Security)
m
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
==EclipseLink JMX MBean support in WebLogic==
+
see [http://wiki.eclipse.org/Integrating_EclipseLink_with_an_Application_Server_(ELUG)#How_to_Integrate_JMX WebLogic JMX EclipseLink User Guide]
<font color="red">This page is under construction for the next week starting 20080619.</font>
+
The API discussed here is still in the design phase and will be checked in as part of enhancement [[http://wiki.eclipse.org/EclipseLink/DesignDocs/235168 235168]]
+
 
+
===Prerequisites===
+
====Configuring WebLogic Server Domain Security====
+
*If you are running your MBeans unsecured or in a development environment - you will need to disable security to see them outside of WebLogic
+
*Select the [[http://localhost:7001/consolehelp/console-help.portal?_nfpb=true&_pageLabel=page&helpId=Securitysecuritydomaindomainconfiggeneraltitle#security.domain.domainconfiggeneral.securityconfiguration.anonymousadminlookupenabled.label Anonymous Admin Lookup Enabled checkbox]] on the admin console security tab and restart. (Or you will get the following security warning).
+
<pre>
+
[EL Warning]: 2008.06.19 13:37:01.875--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Failed to find MBean Server: javax.naming.NoPermissionException:
+
User <anonymous> does not have permission on weblogic.management.home to perform lookup operation.
+
</pre>
+
[[Image:Weblogic103_console_jmx_anon_security.jpg]]
+
 
+
===Viewing JMX MBeans in a JConsole Window===
+
The standard SUN JDK <JAVA_HOME>/bin/jconsole.exe application can be used to view the MBeans exposed by the WebLogic server JVM instance.
+
 
+
Start jconsole at the run|cmd prompt and select the running weblogic.Server local process.
+
 
+
[[Image:Jconsole_attach_to_weblogic_server_jvm.jpg]]
+
 
+
You should see the following EclipseLink MBeans off the root of the JNDI tree.  In this example there are 2 separate EARs deployed to WebLogic - each with its own set of MBeans based on the login session.
+
 
+
[[Image:Eclipselink_jmx_mbeans_in_jconsole.jpg]]
+

Latest revision as of 10:06, 30 March 2009

see WebLogic JMX EclipseLink User Guide

Back to the top