This is a discussion on Apache Tomcat 5.5 - Changing appBase Default within the Apache Web Server forums, part of the Web Server and Related Forums category; I am running Apache Tomcat 5.5 under Microsoft Windows. I would like to have the appBase directory for running ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am running Apache Tomcat 5.5 under Microsoft Windows. I would like to
have the appBase directory for running web apps set to something other than "webapps". Specifically this would be an absolute path to a network drive and directory (I.e "n:\webapps"). Looking around for a few hours at other post's it seems under Linux no one is complaining this isn't working. However it seems a number of people have posted problems in regards to doing this while running under windows. With most people giving up and just having their web apps run under the Tomcat installation directories. Some say the path should be any one of the following: "n:\\webapps", "n:/webapps", "n://webapps", "n:\webapps", etc. I have tried all combinations and none work. I was wondering if anyone has a working example of setting their appBase directory to be outside of their Tomcat installation on a Windows environment and had it work? So in your server.xml what would you have for this entry to get it to work: <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> I have tried changing the appBase here to all combinations of the directory I want to access and none work. Thanks |