Re: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 3/2/2011 4:20 PM, jo...@centrum.cz wrote: thank you for your reply. Based on your answer I tried to remove docBase attribute in ROOT.xml and it started to work ! :-) The thing why it didn't come to my mind before is the fact that I

How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread joe.k
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

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread Martin Gainty
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

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: How to setup webapp specific parameter for virtual host in Tomcat? 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

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread Caldarale, Charles R
From: jo...@centrum.cz [mailto:jo...@centrum.cz] Subject: How to setup webapp specific parameter for virtual host in Tomcat? Host name=my.domain.com appBase=vhosts/my.domain.com unpackWARs=true autoDeploy=true Context docBase=/ reloadable=true Parameter name=serverRole value=dev

RE: How to setup webapp specific parameter for virtual host in Tomcat?

2011-03-02 Thread joe.k
Hi Charles, thank you for your reply. Based on your answer I tried to remove docBase attribute in ROOT.xml and it started to work ! :-) The thing why it didn't come to my mind before is the fact that I thought docBase attribute was mandatory attribute, as long as it's marked bold in