2011/3/23 Mark Thomas <ma...@apache.org>:
> On 22/03/2011 21:09, Billy Bacon wrote:
>> 2nd:
>> So I then tried using an absolute path for the docBase in the Context.
>
> Yes it will need to be absolute. Relative docBases are resolved relative
> to the Host's appBase.
>
>> <Context docBase="/usr/local/tomcat8081/wars">
>
> Getting closer. A docBase needs to specify the WAR or directory so
> you'll need:
> <Context docBase="/usr/local/tomcat8081/wars/onlinecourses.war">
>

If a relative path is needed, you can write
<Context docBase="${catalina.home}/wars/onlinecourses.war">

(or with catalina.base if that is relative to $CATALINA_BASE)

> All of this should be in the docs. If you see any scope for improvement,
> please let us know.
>
> Mark
>

2011/3/22 Billy Bacon <billy.ba...@gmail.com>:
> Tomcat 6.0.26
> Java 1.6
> OS: Mac OS X and Linux

There was a number of fixes between 6.0.26 and the latest 6.0.32...

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to