[
https://issues.apache.org/jira/browse/DERBY-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560338#action_12560338
]
John H. Embretsen commented on DERBY-1387:
------------------------------------------
I am trying to get an updated version of the latest patch to compile, but I'm
having the same problem Rick reported on Nov 20. After putting some echo
statements into some of the build.xml files and running with verbose and debug
flags, I still don't know why it happens.
I have added jmxri.jar to tools/java as Bernt mentioned, but it doesn't help
(it doesn't seem like it's being picked up into the compile classpath anyway).
In any case, I have no idea why ant is reporting errors for
org/apache/derby/iapi/services/mbeans/ManagementService when it is supposed to
compile files in org/apache/derby/iapi/error/ only, as part of the
compile_iapi_error_jsr169 target in
java/engine/org/apache/derby/iapi/reference/build.xml.
>From what I can tell, the patch does not touch any files in
>org/apache/derby/iapi/error/.
Any ideas?
(...)
[echo] Done with compile_reference
[ant] Exiting
/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/java/engine/org/apache/derby/iapi/reference/build.xml.
[echo] First javac in compile_iapi_error_jsr169
[echo] compile.classpath is:
/usr/local/java/jdk1.4/jre/lib/charsets.jar:/usr/local/java/jdk1.4/jre/lib/jce.jar:/usr/local/java/jdk1.4/jre/lib/jsse.jar:/usr/local/java/jdk1.4/jre/lib/plugin.jar:/usr/local/java/jdk1.4/jre/lib/rt.jar:/usr/local/java/jdk1.4/jre/lib/sunrsasign.jar
[javac] org/apache/derby/iapi/error/ExceptionSeverity.java added as
org/apache/derby/iapi/error/ExceptionSeverity.class doesn't exist.
[javac] org/apache/derby/iapi/error/PassThroughException.java added as
org/apache/derby/iapi/error/PassThroughException.class doesn't exist.
[javac] org/apache/derby/iapi/error/PublicAPI.java added as
org/apache/derby/iapi/error/PublicAPI.class doesn't exist.
[javac] org/apache/derby/iapi/error/StandardException.java added as
org/apache/derby/iapi/error/StandardException.class doesn't exist.
[javac] Compiling 4 source files to
/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/classes
[javac] Using modern compiler
[javac] Compilation arguments:
[javac] '-nowarn'
[javac] '-d'
[javac] '/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/classes'
[javac] '-classpath'
[javac]
'/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/classes:/usr/local/java/jdk1.4/jre/lib/charsets.jar:/usr/local/java/jdk1.4/jre/lib/jce.jar:/usr/local/java/jdk1.4/jre/lib/jsse.jar:/usr/local/java/jdk1.4/jre/lib/plugin.jar:/usr/local/java/jdk1.4/jre/lib/rt.jar:/usr/local/java/jdk1.4/jre/lib/sunrsasign.jar'
[javac] '-sourcepath'
[javac]
'/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/java/engine'
[javac] '-target'
[javac] '1.4'
[javac] '-bootclasspath'
[javac]
'/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/tools/java/empty.jar'
[javac] '-g'
[javac] '-source'
[javac] '1.4'
[javac]
[javac] The ' characters around the executable and arguments are
[javac] not part of the command.
[javac] Files to be compiled:
[javac]
/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/java/engine/org/apache/derby/iapi/error/ExceptionSeverity.java
[javac]
/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/java/engine/org/apache/derby/iapi/error/PassThroughException.java
[javac]
/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/java/engine/org/apache/derby/iapi/error/PublicAPI.java
[javac]
/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/java/engine/org/apache/derby/iapi/error/StandardException.java
[javac]
/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/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]
/export/home/tmp/je159969/Derby/sandboxes/codeTrunk/trunk/java/engine/org/apache/derby/iapi/services/mbeans/ManagementService.java:21:
package javax.management does not exist
[javac] import javax.management.ObjectName;
[javac] ^
etc..
> 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: John H. Embretsen
> 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.