-----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 thought 
> docBase attribute was mandatory attribute, as long as it's marked bold in 
> Tomcat's 
> documentation: 
> 
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Common_Attributes 

docBase actually is required when the webapp is not being deployed via
an auto-deployed .WAR file (or manually deployed using the manager app).

The problem, now, is that you run the risk of double-deploying your ROOT
webapp: once because it is being auto-deployed and once because you are
explicitly deploying it.

The best thing for you to do is to remove the <Context> from your
server.xml file and instead modify the file
CATALINA_BASE/conf/[Service]/my.domain.name/ROOT.xml to include your
<Parameter> entries.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1xSo0ACgkQ9CaO5/Lv0PA57QCfSIAxVC8QlqySXvu1eV+dCjjF
H+AAn2CmDnf0wB+PdpaiOWaYD3AYKTcd
=fdB/
-----END PGP SIGNATURE-----

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

Reply via email to