Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318032 - JMX: change mbean eclipselink.register.run.mbean deployment property default to true
Summary: JMX: change mbean eclipselink.register.run.mbean deployment property default ...
Status: CLOSED DUPLICATE of bug 316509
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 318031
Blocks: 316513
  Show dependency tree
 
Reported: 2010-06-25 14:50 EDT by Chris Delahunt CLA
Modified: 2022-06-09 10:34 EDT (History)
2 users (show)

See Also:


Attachments
Enable user disable or enable of JMX MBean registration for implementors of JMXEnabledPlatform (2.21 KB, patch)
2010-07-12 11:06 EDT, Michael OBrien CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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