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>
--------------------------------------------------------------------------------
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>
--------------------------------------------------------------------------------