Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

log4j file load

Status
Not open for further replies.

tmmet

IS-IT--Management
Jul 25, 2005
7
US
Hi,
I have a web project and the web project has an ejb jar included in its build path.The ejb project automatically loads the log4j.properties which is located in ejbModule folder.
I have the below in web.xml.My question is , since, I have load-on startup set to 2, the log4j.properties that comes with struts.jar will be loaded first and then, the log4j.properties in ejb project will be loaded .Is that correct? Could anyone please let me know?
Thanks in advance,


<servlet>
<servlet-name>AppName</servlet-name>
<servlet-class>sorg.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
--------------------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top