This is what I have.  I'm getting a different error now.  I've tried it
with both 1.1 and 1. 0 and neither seem to work.  Is there a trick I'm
missing?

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

It seems to go down the package tree and then burps on comm.  The file is
inside jmxtools.jar, just as you mentioned.  I'm using a windows box so
there shouldn't be any read permission issues.


# Required to build the org.apace.log4j.jmx package.
jmx.jar=c:\javatools\jmx_1.1_ri_bin\lib\jmxri.jar
jmx-extra.jar=c:\javatools\jmx_1.1_ri_bin\lib\jmxtools.jar




                                                                                       
                                          
                      Ceki Gülcü                                                       
                                          
                      <[EMAIL PROTECTED]>            To:       "Log4J Users List" 
<[EMAIL PROTECTED]>                      
                                               cc:                                     
                                          
                      05/24/2002 09:04         Subject:  Re: Building log4j            
                                          
                      AM                                                               
                                          
                      Please respond to                                                
                                          
                      "Log4J Users                                                     
                                          
                      List"                                                            
                                          
                                                                                       
                                          
                                                                                       
                                          





You probably forgot to set the jmx-extra.jar property in build.properties

Try:

jmx-extra.jar=/path/to/jmx-1_0-ri/lib/jmxtools.jar

That should fix it.

At 08:56 24.05.2002 -0400, [EMAIL PROTECTED] wrote:
>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]>

--
Ceki


--
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