I'm using Log4j 1.2 with the following configurations:
  Windows XP professional
  WLS 6.1 sp2 as the Web Server
  CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar

I packaged the log4j-1.2.jar in the WEB-INF/lib of a war file and the
strange things happened.

Weblogic complains: NoClassDefFoundError : org.apache.log4j.Category.

The same war file works in other servlet engine such as Tomcat, Resin.

I tried to expand all jar files in my WEB-INF/lib including
log4j-1.2.jar to WEB-INF/classes (so ugly!) and redeploy the war file.
Then the war works properly!

I tried this war on many platform(with the same weblogic version),
Windows 2000 server     - work
Windows XP professional - not work
Sun Solaris             - not work

BTW, if I replace the log4j-1.2.jar with log4j-1.1.3, it works again.

Anyone can help me? thks.
-- 
Michael Zhou <[EMAIL PROTECTED]>



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

Reply via email to