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

Bug 320431

Summary: JMX: Merge Core and SDO support for the JMX MBean API
Product: z_Archived Reporter: Michael OBrien <michael.f.obrien>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P2 CC: david.mccann, eclipselink.foundation-inbox, michael.f.obrien, peter.krogh
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
URL: http://wiki.eclipse.org/EclipseLink/DesignDocs/316513#DI_8:_20100722:_Application_Name_Identifier_extraction
Whiteboard:
Bug Depends on: 265540, 332312, 316513    
Bug Blocks:    

Description Michael OBrien CLA 2010-07-20 14:18:55 EDT
The following SDO server platform specific functions "may" be merged and/or replaced by using the server platform generic functions new to JMXServerPlatformBase in core.
>We will then have a single place where MBean API is called in the EclipseLink stack.
This will likely involve making SDO some sort of pseudo server platform or by subclassing off of NoServerPLatform as soon as JMX SE support is enabled there for 265540
In addition we now lookup the MBeanServer using the static JMX API MBeanServerFactory.findMBeanServer(null) - which returns a List<MBeanServer> instead of using JNDI.

>SDO : WebLogic and JBoss
SDOHelperContext.java
    private static MBeanServer wlsMBeanServer = null;
    private static MBeanServer jbossMBeanServer = null;
    private static Object getExecuteThread() {
    private static MBeanServer getWLSMBeanServer()

>Core : WebLogic, JBoss, WebSphere and Glassfish
JMXServerPlatformBase.java
    private MBeanServer mBeanServer = null;
    public MBeanServer getMBeanServer()

>Core : WebLogic only
WebLogic_10_Platform.java
    private Object getExecuteThreadFromMBean()
Comment 1 Michael OBrien CLA 2010-10-04 10:52:05 EDT
>We can start with merging the mbean lookup for all the servers with the SE case in bug # 265540
https://bugs.eclipse.org/bugs/attachment.cgi?id=175009&action=diff
Comment 2 Michael OBrien CLA 2011-02-10 09:54:06 EST
>This has been bumped up by mgmt
Comment 3 Peter Krogh CLA 2011-06-20 14:05:24 EDT
bug scrub this bug to future
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:19:01 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink