Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318032

Summary: JMX: change mbean eclipselink.register.run.mbean deployment property default to true
Product: z_Archived Reporter: Chris Delahunt <christopher.delahunt>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P2 CC: gordon.yorke, michael.f.obrien
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 318031    
Bug Blocks: 316513    
Attachments:
Description Flags
Enable user disable or enable of JMX MBean registration for implementors of JMXEnabledPlatform none

Description Chris Delahunt CLA 2010-06-25 14:50:06 EDT
The eclipselink.register.run.mbean System property will cause the WebLogic_10_Platform platform to deploy the MBeanWebLogicRuntimeServices, allowing session properties to be viewed from the EM/JConsole on WebLogic.  This MBean deployement property should be set to true by default, allowing the MBean deployment to occur by default on platforms supporting it (currently only WebLogic, but feature requests exist to have it supported on J2SE, JBoss and WebSphere).
Comment 1 Michael OBrien CLA 2010-06-25 15:28:16 EDT
>This enhancement requires a decision before we close bug# 316513
Comment 2 Michael OBrien CLA 2010-06-29 15:58:51 EDT
>The default will be false - as per PM design discussion email today
>A new platform override function will be introduced in the SErverPlatform interface

+    /* (non-Javadoc)
+     * @see org.eclipse.persistence.platform.server.ServerPlatform#isRuntimeServicesEnabledDefault()
+     */
+    @Override
+    public boolean isRuntimeServicesEnabledDefault() {
+        return false;
+    }

>I will close the bug once enhancement bug# 316513 is checked in
Comment 3 Michael OBrien CLA 2010-06-30 09:42:01 EDT
>This work is part of enhancement bug# 316509 where we are defaulting to false

*** This bug has been marked as a duplicate of bug 316509 ***
Comment 4 Michael OBrien CLA 2010-07-09 09:48:44 EDT
>Actually lets define the default as true for platforms the support JMX (in EclipseLink)
+     * Provide the default value for {@link #isRuntimeServicesEnabled()} for a
+     * ServerPlatform. By default this is <code>false</code> but some platforms
+     * can choose to have MBeans deployed by default.
+     */
+    boolean isRuntimeServicesEnabledDefault();
Comment 5 Michael OBrien CLA 2010-07-12 11:06:22 EDT
Created attachment 174041 [details]
Enable user disable or enable of JMX MBean registration for implementors of JMXEnabledPlatform
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:34:31 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink