tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikola Milutinovic <>
Subject Re: Application loading twice
Date Fri, 02 Apr 2004 18:29:23 GMT
Shapira, Yoav wrote:

>It's probably because you have autoDeploy set to true AND an explicit
>context with a different path for your webapp.  So tomcat deploys it
>twice, one with your explicit context and once via autoDeploy with a
>path="/" + the app name, i.e. "/myApp".  Pick one, in your case probably
>you should set autoDeploy="false".

What should one do if he has a VHost with many web applications, all of 
them rooted in one dir (i.e. "~owner/WebApps/") and wants to setup some 
context bound things, like DataSources?

If "autodeploy" is on, the webapp with DataSource will load twice. If it 
is off, then each webapp has to be deployed manually.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message