Hi, I'm new to Tomcat, but I managed to install Tomcat 6.020 which I use on a development server (production server will come soon). I have three development environments on this server, which are DEV, TEST and STAGE.
Here's what my directory looks like: \Tomcat 6.0\webapps\WebAppMan\dev \Tomcat 6.0\webapps\WebAppMan\test \Tomcat 6.0\webapps\WebAppMan\stage Here's the host line in my server.xml file: <Host name="xwebapp-man-mobile-dev.domain.com" appBase="webapps/WebAppMan" unpackWARs="true" autoDeploy="true"> As you can see, my appBase is set to "webapps/WebAppMan", because I wanted to have URLs like this (identifying the development environment used): https://xwebapp-man-mobile-dev.domain.com/dev/... https://xwebapp-man-mobile-dev.domain.com/test/... https://xwebapp-man-mobile-dev.domain.com/stage/... However, even if autoDeploy is set to true, it doesn't seem to work inside nested folders. It works If I place a .WAR file inside the "webapps/WebAppMan" folder, but it doesn't work if I place it inside the "webapps/WebAppMan/dev" folder for example. The problem with that, is that I want to give developpers read/write access to everything inside the "dev", "test" and "stage" folders... but I don't want to give them access to the "WebAppMan" folder. They told me they have to use the autoDeploy feature to correctly install their applications... and I want them to install these inside the "dev", "test" or "stage" folders (not inside the root folder "WebAppMan"). I could change my appBase to point directly in the "dev" folder like appBase="webapps/WebAppMan/dev"... but that would mean I would also have to do this for the test and stage environment. I would then have to create three DNS hosts instead of one (ex: xwebapp-man-mobile-dev, xwebapp-man-mobile-test, xwebapp-man-mobile-stage). I tried to avoid that, cause we have a naming convention here that the DNS host name is identifying the dev server or the prod server, and the folder name is identifying the environment used on that server. Is there a way to keep my logic in place... and still satisfy the developers demand (be able to deploy applications themselves using a .WAR file)? Again, I'm new to Tomcat, so sorry if this looks like a weird question. Thanks! _____________________________________________________ Pascal Vachon Senior Analyst Programmer Canam Group Phone: 418-228-8031 #2567 | Fax: 418-227-8697 Email: pascal.vac...@canamgroup.ws Web Site: Canam Group Do you really need to print this email? Think green!