[ 
https://issues.apache.org/jira/browse/DERBY-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530426
 ] 

Bernt M. Johnsen commented on DERBY-1387:
-----------------------------------------

Usability issue: 

Instead of controlling whether JMX for Derby is enabled or not by derby 
properties and/or command line options, this should be dependent on the 
availability of an MBean server. That is, JMX MBeans for Derby will be 
generated and registered if ManagerFactory.getPlatformMBeanServer() returns a 
non-null value. The Mbeans will not be available outside the VM unless the 
MBean server is instructed to do so. For Sun's VM, this is done by setting a 
system property, e.g. like -Dcom.sun.management.jmxremote

When this is done, an JMX compliant application (e.g. JConsole) may connect to 
the MBean server if run on the same machine and from the same OS user as the VM 
is running. More properties may be set, to enable connections from another 
machine, enable/disable ssl etc. See e.g. 
http://java.sun.com/docs/books/tutorial/jmx/remote/jconsole.html

> Add JMX extensions to Derby
> ---------------------------
>
>                 Key: DERBY-1387
>                 URL: https://issues.apache.org/jira/browse/DERBY-1387
>             Project: Derby
>          Issue Type: New Feature
>          Components: Services
>            Reporter: Sanket Sharma
>            Assignee: Bernt M. Johnsen
>         Attachments: DERBY-1387-1.diff, DERBY-1387-1.stat, DERBY-1387-2.diff, 
> DERBY-1387-2.stat, DERBY-1387-3.diff, DERBY-1387-3.stat, DERBY-1387-4.diff, 
> DERBY-1387-4.stat, derbyjmx.patch, jmx.diff, jmx.stat, jmxFuncspec.html, 
> Requirements for JMX Updated.html, Requirements for JMX.html, Requirements 
> for JMX.zip
>
>
> This is a draft requirement specification for adding monitoring and 
> management extensions to Apache Derby using JMX. The requirements document 
> has been uploaded on JIRA as well as the Derby Wiki page at 
> http://wiki.apache.org/db-derby/_Requirement_Specifications_for_Monitoring_%26_Management_Extensions_using_JMX
> Developers and Users are requested to please look at the document (feature 
> list in particular) and add their own rating to features by adding a coloumn 
> to the table.
> Comments are welcome.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to