I'm trying to use log4j from within a James mailet and I'm getting this
error:

(class: org/apache/log4j/LogManager, method: <clinit> signature: ()V)
Incompatible argument to function
java.lang.VerifyError: (class: org/apache/log4j/LogManager, method:
<clinit> signature: ()V) Incompatible argument to function
        at org.apache.log4j.Logger.getLogger(Logger.java:85)

Normally this would be caused by a bad compilation of log4j, but this is
the normal dist jar from apache. I'm using this jar elsewhere without
issue and it's happening against 1.2.1 and 1.2.8.

I suspect that it's a classloading issue. I've tried putting the jar in
either the lib dir and in the SAR-INF/lib and I get the same problem.

I'm running Phoenix 4.0.1, James 2.1.3 and JDK 1.3.1

Anyone got any ideas?



-- 
Jeff Martin

Memetic Engineer

http://www.custommonkey.org/


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

Reply via email to