This content has been marked as final.
Show 2 replies
-
1. Re: NoSuchFieldError: org/apache/log4j/Level.TRACE
peterj Nov 10, 2009 3:25 PM (in response to jithu.mada)I tried copying the latest version of apache log4j into jboss/common/lib
Don't do that - the log4 JAR file in that directory is the correct one. Most likely you have an older log4j.jar file in the classpath somewhere, or perhaps in the endorsed directory for the JVM. If the jar is in neither of those locations, add the -verbose:class JVM option ot the JAVA_OPTS in run.conf. This option should tell the JVM to print out the class name and jar file location for each class loaded (I say it should because it is supposed to be a standard run option but I have no idea whether the AIX JVM supports it). -
2. Re: NoSuchFieldError: org/apache/log4j/Level.TRACE
jithu.mada Nov 10, 2009 3:48 PM (in response to jithu.mada)Thank you, Peter, that was the problem. I had a old log4j jar file in jre/lib/ext folder.