Jean-frederic Clere wrote:
So either something weird is happening (always possible), or you have
some
other incompatible version of log4j on your classpath, or something
in your classpath was compiled against another version of log4j, etc.
My test is using:
Class.forName("org.apache.commons.logging.impl.Log4JLogger");
I have rebuild commons-logging using the log4j I am using in the test
and the test is working now.
But I still don't understand why it was working with the Sun JVM before!!!
Probably due to classpath differences. E.g. do you have a CLASSPATH
environment variable set? Sun pays attention to it, jchevm does not.
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com