This content has been marked as final.
Show 3 replies
-
1. Re: Startup failure: java.lang.NoSuchFieldError: TRACE
jaikiran Feb 6, 2009 6:39 AM (in response to mrmurphy)Did you change anything in a clean downloaded AS? And do you have any stray log4j jar files in your classpath?
-
2. Re: Startup failure: java.lang.NoSuchFieldError: TRACE
mrmurphy Feb 6, 2009 6:43 AM (in response to mrmurphy)Hi,
I didn't changed anything and the classpath is empty.
Do I have to check something else? -
3. Re: Startup failure: java.lang.NoSuchFieldError: TRACE
peterj Feb 6, 2009 10:54 AM (in response to mrmurphy)From what I've seen of the installation instructions in the getting started guide, I would avoid them. The installation steps are really easy (see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205258, and ignore step 4 - that's a *nix only step)
But you must have a stray log4j JAR file somewhere. To track it down, set JAVA_OPTS to "-verbose:class" and then run the app server. The JVM will then print out the location of every class file loaded. This should point out the stray log4j JAR file.cd <jboss_home>\bin set JAVA_OPTS=-verbose:class run.bat