ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Understanding Classloaders: log4j in a J2EE Environment
Subject:   Regarding log4j in J2EE and JBOSS server
Date:   2008-01-22 03:46:15
From:   ItsSneha
Hi Vikram,
The article is really nice. Seems you have really worked a lot on log4j. I am new to it. I am developing a hosted service which contains 2 different .war files. I am trying to log the details to a log file, using a .properties file. I have placed this file into the WEB-INF->classes directory.
But yet, after I run the project, the log file is not getting created, the logs are going into the server.log file of JBOSS. I think this problem has something to do with the class loaders. As JBOSS also has its own log4j.jar. Can you please give me a solution to it.


Thanks and Regards
Sneha