There is no guarantee of load order. A fair number of people have asked if it was possible and the answer has always been no.

I believe (if I've read past threads correctly) best practice is to be sure the proper log4j.jar is in each WEB-INF/lib, removed from common/lib and shared/lib, added to server/lib for tomcat's own logging (if using a version that implements log4j for logging).

--David

Raju Balugu wrote:

Hi All,

While starting the tomcat ,I could see the webapps context loading.I would
like to know the process which one load first among the webapps

ex: I have 4 webapps which one is going to load first among them?

One more doubt
I have the 10 webapplications ,most of the apps are using the log4j
1.1.3and 1 app are going to use the log4j
1.2.12.(kept the log4j under corresponding WEB-INF/lib)(new apps).I am
loading the log4j.jar(1.1.3) in shared.loader.I am trying to launch the new application ,I am getting the error on log4j (its clashing).If I refer the
new log4j.jar(1.2.12)..working fine but its giving the problem for other
apps due to the lower version of log4j.
Experts please suggest me, how to avoid this problem?

Regards
Raju



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to