docBase
The value of this field must NOT be set when the Context is
        configured using a META-INF/context.xml file 
as it will be
        inferred by the automatic deployment process.

Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> To: users@tomcat.apache.org
> Subject: How to setup webapp specific parameter for virtual host in Tomcat?
> Date: Wed, 2 Mar 2011 13:50:09 +0100
> From: jo...@centrum.cz
> 
> 
> Hi everybody,
> I would like to have this setup in Tomcat:
> 
> 1. virtual host
> 2. webapp resides directly in ROOT and is autoDeployed
> 3. I need to pass some specific webapp parameter in Tomcat configuration 
> (outside war)
> 
> 1st I have this scenario:
> 
> <Host name="my.domain.com" appBase="vhosts/my.domain.com" unpackWARs="true" 
> autoDeploy="true">
> </Host>
> 
> and ROOT.war in directory $CATALINA_BASE/vhosts/my.domain.com/
> 
> -> everything works fine
> 
> 2nd now I try to add the context parameter
> 
> <Host name="my.domain.com" appBase="vhosts/my.domain.com" unpackWARs="true" 
> autoDeploy="true">
> <Context docBase="/" reloadable="true">
> <Parameter name="serverRole" value="dev" override="true"/>
> </Context>
> </Host>
> 
> -> app is no more accessible by my.domain.com (404)
> 
> -> I also tried to move the Context from Host to separate ROOT.xml file 
> residing in $CATALINA_BASE/conf/Catalina/my.domain.com/ but with no success
> 
> Actually I don't know what to set for path or docBase, but it seems that I am 
> lost.
> 
> With kind regards,
> JoeK
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
                                          

Reply via email to