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);
  |     }
  | 
  | 

I will be very helpful for me.
Thanks And Regards
Divya Garg

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206480#4206480

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206480
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to