Parents: DerbyDevActivities, ServicesLinks
This page describes Derby's JMX extensions, a new feature set being developed for the first 10.4 release and beyond.
- Jira issues
- Generic JMX technology resources
- Derby-related JMX resources
- Current MBeans
- JMX QUICK START - SEE DerbyJMXQuickStart PAGE
Jira issues
Jira is the issue tracking system used by the Apache Derby project. Here is a list of some of the issues relating to JMX:
DERBY-1387 - Add JMX extensions to Derby
DERBY-3385 - Tests for JMX Management and Monitoring
DERBY-3424 - Add a management MBean to control JMX state
DERBY-3429 - Remove system property derby.system.jmx
DERBY-3435 - Add an MBean for monitoring and managing the Network Server
There is a separate JMX component for Derby in Jira. Search for
issues with the JMX component to get an updated list of all JMX related issues.
Generic JMX technology resources
JMX is an abbreviation for a Java technology called Java Management EXtensions, and is part of J2SE 5.0 and newer.
JMX-related blogs:
JMX, SNMP, Java, etc... - Daniel Fuchs blogs on JMX, SNMP, Java, etc.
Eamonn McManus's Blog (JMX Spec Lead)
Derby-related JMX resources
JmxForDerbyProject - Description of the 2006 Google Summer of Code project, which was the first real initiative to add JMX extensions to Derby.
JMXSecurityExpectations - a summary of the development community's security expectations with regards to the JMX features
Current API / Javadocs (trunk/alpha)
Current MBeans
Each Derby MBean is defined by a Java interface in the package org.apache.derby.mbeans or any of its subpackages.
MBeans in the top-level mbeans package are included in derby.jar and are located in the java/engine source tree.
MBeans in the org.apache.derby.mbeans.drda package are included in derbynet.jar and are located in the java/drda source tree.
Other subpackages may be added later (e.g. tools).
The object name of each Derby MBean should be well-defined, and documented in the MBean interface's public Javadoc. Every Derby MBean is associated with the domain org.apache.derby and includes at least the following key-properties:
type - Typically the class name of the MBean's interface class without the package and without MBean. For example for org.apache.derby.mbeans.VersionMBean the key property type will be set to Version.
system - A runtime identifier that allows Derby and applications to disambiguate multiple Derby systems in the same virtual machine but different class loaders. See the
org.apache.derby.mbeans package Javadoc overview for details. In the MBean descriptions below, the system identifier is represented by the variable <sysID>. The value will vary between each time Derby is run, and will look like a multi-digit hexadecimal number such as a
GUID.
VersionMBean
org.apache.derby.mbeans.VersionMBean
Implementation: org.apache.derby.iapi.services.info.Version (not public)
ObjectName:
org.apache.derby:type=Version,system=<sysID>,jar=derby.jar (monitors derby.jar (the engine)), or
org.apache.derby:type=Version,system=<sysID>,jar=derbynet.jar (monitors derbynet.jar (the server))
Instruments:
org.apache.derby.iapi.services.info.ProductVersionHolder
Status: In trunk (since 2008-02-12). In 10.4 branch since its inception (2008-03-10, SVN 635491).
Description: Exposes version information about the running Derby system / jar file.
JDBCMBean
org.apache.derby.mbeans.JDBCMBean
Implementation: org.apache.derby.jdbc.JDBC (not public)
ObjectName: org.apache.derby:type=JDBC,system=<sysID>
Instruments:
org.apache.derby.jdbc.InternalDriver
org.apache.derby.iapi.services.info.JVMInfo
Status: In trunk (since 2008-02-14). In 10.4 branch since its inception (2008-03-10, SVN 635491).
Description: Exposes information about the JDBC driver.
ManagementMBean
org.apache.derby.mbeans.ManagementMBean
Implementation:
org.apache.derby.mbeans.Management (public; may be registered by JMX clients)
Extended by: org.apache.derby.iapi.services.jmx.ManagementService (interface; not public)
Implementation:
org.apache.derby.impl.services.jmx.JMXManagementService (not public)
org.apache.derby.impl.services.jmxnone.NoManagementService (not public) [empty implementation for environments without the required JMX support]
ObjectName: org.apache.derby:type=Management,system=<sysID> when registered by Derby
Instruments:
org.apache.derby.impl.services.jmx.JMXManagementService
Status: In trunk (since 2008-02-15). In 10.4 branch since its inception (2008-03-10, SVN 635491).
Description: Manages the state of Derby's MBeans (registered or not)
NetworkServerMBean
org.apache.derby.mbeans.drda.NetworkServerMBean
Implementation: org.apache.derby.impl.drda.NetworkServerMBeanImpl (not public)
ObjectName: org.apache.derby:type=NetworkServer,system=<sysID>
Instruments:
org.apache.derby.impl.drda.NetworkServerControlImpl
Status: In trunk (since 2008-02-20). In 10.4 branch since its inception (2008-03-10, SVN 635491).
Description: Monitors and manages a running instance of the Network Server.
JMX QUICK START - SEE DerbyJMXQuickStart PAGE
See DerbyJMXQuickStart page.
There are 0 attachment(s) stored for this page.