tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angelov, Rossen" <Rossen.Ange...@SourceMedia.com>
Subject RE: context.xml locations and servlet mappings
Date Mon, 04 Jun 2007 21:58:19 GMT
Chris,

This didn't help. Removing them is not generating errors, the servlet
still loads on startup, but then the mapping don't work. 

It doesn't make sense to remove the path and the docBase. Especially the
docBase, it specifies the Context Root. If it's empty, it probably uses
the host appBase for root, but this is incorrect. I should be able to
specify the context root. What about the cases when there are more than
one contexts per host?

The problem seems to be somewhere else, but thanks for the advise.

Ross

-----Original Message-----
From: Christopher Schultz [mailto:chris@christopherschultz.net] 
Sent: Monday, June 04, 2007 4:46 PM
To: Tomcat Users List
Subject: Re: context.xml locations and servlet mappings

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ross,

Angelov, Rossen wrote:
> META-INF/context.xml
> 		  <Context path="" docBase="html" debug="0"
> privileged="true">


Take out the "path" and "docBase" parameters. They are either illegal or
ill-advised when using META-INF/context.xml.

This might not be /the/ problem, but you should definitely remove those
two attributes.

- -chris

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

iD8DBQFGZIgZ9CaO5/Lv0PARAoQoAKCIs1myORR5N3hhQAaBcEsyOZmi6ACfXMrx
HUvaShUKZFwX385E0A1dq98=
=3Rfo
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


"This communication is intended solely for the addressee and is confidential and not for third
party unauthorized distribution"

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message