Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Auto-redeployment for a default web application

K. Chi Bui

2006-12-07

Replies:

"When using automatic deployment, the |docBase| defined by an XML
Context <http://tomcat.apache.org/tomcat-4.1-doc/config/context.html>
file should be outside of the |appBase| directory. If this is not the
case difficulties may be experienced deploying the web application or
the application may be deployed twice."

extracted from: http://tomcat.apache.org/tomcat-4.1-doc/config/host.html




Mark Thomas wrote:
> K. Chi Bui wrote:
>  
>> One interesting thing here is Apache suggests that we should not have
>> docBase underneath appBase
>>  
> Where are you getting this from? If the docs say this they need fixing
> as this is absolutely not the case. The rule is appBase must not
> *equal* docBase.
>
>  
>> I have my WARs in docBase.
>>  
> I am not sure I understand this. WARs should be place in the appBase
> directory or, if stored outside the appBase, the docBase in your
> Context element should be set to the WAR file.
>
> I think you need to sort the above out before worrying about your
> other questions.
>
> Mark
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
>
>
>  


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.