Hi
I m working on JBoss 4.2.2. And i have made a custom log4j.xml file.
I want to deploy it with my application.The problemis my application have
only have one jar file containg all class files and ejb file and there is no classes folder.So where should i put my costom log4j fille is deployed with my application. I am giving the code for its configuration.
public class LoginCheck { static { ClassLoader classLoader = Thread.currentThread( ).getContextClassLoader( ); URL url =classLoader.getResource("djboss-log4j.xml"); DOMConfigurator.configure(url); }
You can place it at the root of the jar.