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:

I have two different folders for appBase and docBase. I have my .wae
files in the docbase and of course this is set in the Context tag.

But having the war in the docBase, how can I tell Tomcat to redeploy
them because they are not in 'appBase'? This is my main question.





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.