Functional Specification for JMX Management and Monitoring of Derby

Revision Description Date Author
3.2 Minor updates most likely reflecting 10.4.1 status:
  • Added a sentence indicating that automatic cleanup behavior may depend on the security policy if a Security Manager is installed (see DERBY-3561).
  • Added description of the system key property.
  • Added 11 new (dynamic) attributes to the NetworkServerMBean, already implemented.
  • Mentioned the new SystemPermissions relating to JMX, in the Security section.
  • Removed statement indicating that lack of documentation may by itself justify interface changes in subsequent releases.
  • Removed mention of system property which no longer exists.
2008-04-04 John H. Embretsen
3.1 Minor changes mostly based on community feedback:
  • Clarified that MBean specifics are subject to change.
  • Clarified that this spec assumes that most official documentation will not be available for 10.4.
  • Removed the BuildNumberAsInt attribute of VersionMBean.
  • Removed PropertyPermission from listing in Java Security section. Also improved some of the wording and added "air" to the sample policy file to improve readability.
  • Loosened up some statements in the Management Service section regarding MBeanServers and JMX access which may not be true in all scenarios.
  • Some other cosmetic changes.
February 25, 2008 John H. Embretsen
3.0 Updates based on developments since version 2.1
  • Removed description of MBeans that are not likely to be included in target release 1 (Derby 10.4). HTML source still contains the descriptions.
  • Added description of MBeans that are currently committed to trunk.
  • Updated numerous sections with information mentioned in the latest community discussions on this topic.
  • Reworded numerous sentences and paragraphs in an effort to clarify meaning.
  • Added section on MBean Naming Conventions; extracted generic description of MBean Attributes and Operations to a separate MBean Features section.
  • Added a few external links to relevant documentation.
  • Added new section on Error Messages.
February 24, 2008 John H. Embretsen
2.1 Some changes based on initial review comments:
  • Removed stated limitation of authenticateAsUser operation of DatabaseMBean (that only BUILTIN authentication provider is supported); this was a typo. There are no dependencies on authentication provider for this feature.
  • Removed "Derby" from MBean names (DerbySystemMBean => SystemMBean) (was redundant)
  • Moved the public MBean API from org.apache.derby.[impl|iapi].services.mbeans to a new package org.apache.derby.jmx, as o.a.d.iapi.* is reserved for Derby's internal API (iapi). The exception is the NetworkServerControlMgmtMBean interface, which has been moved to the org.apache.derby.drda package instead, since it "belongs to" the Network Server.
  • Clarified that the com.sun.management.jmxremote* properties are "de facto" standard, but not part of any formal (de jure) standard.
  • Fixed some bad links.
February 4, 2008 John H. Embretsen
2.0 Updates based on inconsistencies between the previous version of this funcSpec and the current implementation, including:
  • Clarified (lack of) JDK 1.4 support
  • Clarified how to enable/disable JMX support, and how to utilize it
  • Changed MBean names
  • Updated list of methods (attributes, operations) supported by the MBeans
  • Changed Java Security permissions granted by the default (Basic) policy
  • Added section on authentication
  • Added substance to the Documentation section
  • Added section on Testing
  • Miscellaneous refinements
February 1, 2008 John H. Embretsen
1.0 First cut. August 6, 2007 Ole Gunnar Borstad