What version of JBoss AS? What JDK?
Also, is there a stray log4j.jar file in your classpath? One way to find out is add the '-verbose:class" JVM option - it outputs the location of the jar file for each class loaded.
Thanks for your reply.please find the required info below.
jboss version - 4.2.3.GA
jdk version - 1.5.0_04
I did not find any stray version of log4j.jar in my classpath.
Going by the exception stacktrace it looks like you are packaging the log4j jar file in your application. If yes, then remove it from your application package and redeploy your application.