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

Rick Hillegas commented on DERBY-1387:
--------------------------------------

Thanks for the patch, Bernt. Here's some quick initial feedback: When I apply 
this patch to a clean subversion client, I get build errors when I run "ant 
all". It seems that the compilation of the JMX support is being pulled in by 
the compile_references target. That target uses the jdk1.4 libraries and so 
doesn't see the javax.management package:

compile_reference:
    [javac] Compiling 4 source files to 
/Users/rh161140/derby/mainline/trunk/classes
    [javac] 
/Users/rh161140/derby/mainline/trunk/java/engine/org/apache/derby/iapi/services/mbeans/ManagementService.java:20:
 package javax.management does not exist
    [javac] import javax.management.MBeanServer;
    [javac]                         ^
    [javac] 
/Users/rh161140/derby/mainline/trunk/java/engine/org/apache/derby/iapi/services/mbeans/ManagementService.java:21:
 package javax.management does not exist
    [javac] import javax.management.ObjectName;
    [javac]                         ^
    [javac] 
/Users/rh161140/derby/mainline/trunk/java/engine/org/apache/derby/iapi/services/mbeans/ManagementService.java:57:
 cannot find symbol
    [javac] symbol  : class MBeanServer
    [javac] location: interface 
org.apache.derby.iapi.services.mbeans.ManagementService
    [javac]     public MBeanServer getMBeanServer();
    [javac]            ^
    [javac] 
/Users/rh161140/derby/mainline/trunk/java/engine/org/apache/derby/iapi/services/mbeans/ManagementService.java:93:
 cannot find symbol
    [javac] symbol  : class ObjectName
    [javac] location: interface 
org.apache.derby.iapi.services.mbeans.ManagementService
    [javac]     public void registerMBean(Object bean, ObjectName name) throws 
Exception;
    [javac]                                            ^
    [javac] 4 errors

BUILD FAILED


> 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, DERBY-1387-8.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