| Summary: | JMX: runtime mbean deployment occurs regardless of eclipselink.register.run.mbean sys property value | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Chris Delahunt <christopher.delahunt> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | gordon.yorke, michael.f.obrien | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 316513, 318032 | ||||||
| Attachments: |
|
||||||
|
Description
Chris Delahunt
>The fact that "any" text will enable the property needs to be addressed in the common abstract platform class for WebLogic, JBoss and WebSphere for bug# 316513
>something like changing protected boolean shouldRegisterRuntimeBean = System.getProperty(JMX_REGISTER_RUN_MBEAN_PROPERTY) != null; >to protected boolean shouldRegisterDevelopmentBean = false; ..in the constructor or a static block String shouldRegisterRuntimeBeanProperty = System.getProperty(JMX_REGISTER_RUN_MBEAN_PROPERTY); if(null != shouldRegisterRuntimeBeanProperty && shouldRegisterRuntimeBeanProperty.toLowerCase().indexOf("true") > -1) { shouldRegisterRuntimeBean = true; } >this was by design - see line
// Any value such as true will turn on the MBean
Created attachment 174157 [details]
SVN rev# 7792 Enable true(new default) and false for MBean registration options
>Fixed in SVN rev# http://fisheye2.atlassian.com/changelog/eclipselink/?cs=7792 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |