Apache Server configuration support - Apache Tomcat 5.5 - Changing appBase Default

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2006 > Apache Tomcat 5.5 - Changing appBase Default





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache Tomcat 5.5 - Changing appBase Default
Charles

2006-02-02, 6:02 pm

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com