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

jaikiran do-not-reply at jboss.com
Fri Sep 5 04:29:06 EDT 2008


1) Create a lib folder at the root of the EAR and move the log4j and other jar files into that lib folder. 

MyEAROne.ear
  |  |
  |  |--- META-INF
  |  |	|
  |  |	|--- application.xml
  |  |	|
  |  |	|--- jboss-app.xml
  |  |
  |  |
  |  |--- lib
  |  |	|
  |  |	|--- log4j-1.2.15.jar
  |  |	|	
  |  |	|--- User_Form_Utils.jar	
  |  |	|	
  |  |	|
  |  |	|--- User_Form_dao.jar
  |  |	|
  |  |	|--- User_Form_Utils.jar
  |  |
  |  |
  |  |--- User_Form.war 
  |  


2)
anonymous wrote : META-INF/jboss-web.xml

This is incorrect. For an EAR file, you should have a jboss-app.xml. That jboss-app.xml will contain the classloading configuration.

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

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



More information about the jboss-user mailing list