[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: unable to find log4j.properties file in classpath

ashok.kadam do-not-reply at jboss.com
Mon Sep 8 05:28:32 EDT 2008


Hi Jaikiran,

Problem is now solved for following structure of my .EAR file


  | UserForm.EAR
  |  |
  |  |----META-INF
  |  |      |
  |  |      |--MANIFEST.MF
  |  |      |--application.xml
  |  |      |--jboss-app.xml
  |  |
  |  |----lib
  |  |      |
  |  |      |--log4j-1.2.15.jar
  |  |
  |  |----User_Form.war
  |  |
  |  |----User_Form_EJBClient.jar
  |  |
  |  |----User_Form_Utils.jar
  |  |
  |  |----User_Form_dao.jar
  |  |
  |  |----log4j.properties
  | 

Now Jboss is loading my files and also ganerating log files(blank) at specified path from log4j.prop (at EAR file deployment).
*But still I am getting getting file not found exception while accessing files from my java class.

Regards,
-Ashok

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174935



More information about the jboss-user mailing list