You need the jmxtools.jar which is part of the jmx-1_0-ri download from 
Sun.

Mike McAngus
Associate Chief Engineer
Wendy's International
Knowledge Management
614-764-6776






[EMAIL PROTECTED]
05/24/2002 08:45 AM
Please respond to "Log4J Users List"

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        Building log4j


jmxCheck:
I'm modifying JDBCAppender to change the db settings in the class, but 
when
I try to rebuild the src directory I get this:

jmx:
     [echo] JMX is present.

build.jmx:
    [javac] Compiling 7 source files to C:
\javatools\jakarta-log4j-1.2.2\dist\cl
asses
    [javac] C:
\javatools\jakarta-log4j-1.2.2\src\java\org\apache\log4j\jmx\Agent
.java:7: cannot resolve symbol
    [javac] symbol  : class HtmlAdaptorServer
    [javac] location: package comm
    [javac] import com.sun.jdmk.comm.HtmlAdaptorServer;
    [javac]                          ^
    [javac] C:
\javatools\jakarta-log4j-1.2.2\src\java\org\apache\log4j\jmx\Agent
.java:24: cannot resolve symbol
    [javac] symbol  : class HtmlAdaptorServer
    [javac] location: class org.apache.log4j.jmx.Agent
    [javac]     HtmlAdaptorServer html = new HtmlAdaptorServer();
    [javac]     ^
    [javac] C:
\javatools\jakarta-log4j-1.2.2\src\java\org\apache\log4j\jmx\Agent
.java:24: cannot resolve symbol
    [javac] symbol  : class HtmlAdaptorServer
    [javac] location: class org.apache.log4j.jmx.Agent
    [javac]     HtmlAdaptorServer html = new HtmlAdaptorServer();
    [javac]                                  ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 3 errors

BUILD FAILED


So what do I need?  There's a Sun JMDK, but that doesn't seem to be right,
since there's an expiration date of 30 days.  I tried downloading
j2sdkee1.3.1 but the jar files in lib aren't the correct ones.  I'm trying
to set the build.properties correctly ...

Thanks,
Steve


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to