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

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

Rick: Thanks for your comments.

WRT: exceptions. From my point of view, it would be best to just
propagate SQLExceptions through JMX back to the client. That would
give a Derby-specific management application the best possibilites of
a meaningful user interface. The problem is the generic JMX-consoles,
like JConsole, which then would get an UnmarshalException or a
ClassNotFoundException unless the user points to the derby Jar-files.

With JConsole, this is somewhat awkward, since the user has to start
JConsole e.g. like this:

jconsole 
-J-Djava.class.path=$JAVA_HOME/lib/jconsole.jar:$JAVA_HOME/tools.jar:db-derby-10.3.1.4-lib/lib/derby.jar

Anyway, I guess any compliant generic JMX client would have this
capability one way or another since the JMX specification, as I read
it, allows MBean methods to throw any exception.


> 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, DERBY-1387-5.diff, DERBY-1387-5.stat, DERBY-1387-6.zip, 
> DERBY-1387-7.zip, 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