Right, now at least it is the right class it is complaining about!
So your CLASSPATH environment variable must be set wrong.

Either
 you need to set your CLASSPATH environment variable to include the chainsaw stuff 
(not sure which library that is in - is it included in log4j.jar?)
or
 use java -cp <your classpath> -D<property name=value> org.apache.log4j.cbainsaw.Main

Hope this helps
Keith


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 17 March 2003 10:36
To: Keith Hatton
Subject: RE: log4j with chainsaw



Hi Keith,

Thanks for the reply.  I have tried that approach but i still get:

C:\Java\jakarta-log4j-1.2.8\dist\lib>java -Dchainsaw.port=4445
org.apache.log4j.chainsaw.Main
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log4j/chainsaw/Main

(I type: C:\Java\jakarta-log4j-1.2.8\dist\lib>java -Dchainsaw.port=4445
org.apache.log4j.
chainsaw.Main)

Any further suggestions i am so frustrated by this.


- Michael



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

Reply via email to