tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lionel.far...@free.fr
Subject Re: tomcat deployment changes since Tomcat 5.5.12
Date Wed, 13 Sep 2006 15:33:59 GMT
Thank you Chuck,

I tested (TC 5.5.17) what you suggest with a Context ROOT.xml like this :
<Context docBase="/usr2/web/myhost/ROOT.war" reloadable="false" debug="1">

But the result is the same :
- exceptions in Tomcat logs,
- getServletContext().getRealPath(...) is null


>> From: lionel.farbos@free.fr [mailto:lionel.farbos@free.fr] 
>> Subject: tomcat deployment changes since Tomcat 5.5.12
>> 
>> So, can anybody can say to me if it is a bug or what are the 
>> correct parameters for my needs ?
>
>Quoting from the Tomcat doc for the path attribute of <Context>:
>
>"The value of this field must not be set except when statically defining
>a Context in server.xml, as it will be infered [sic] from the filenames
>used for either the .xml context file or the docBase."
>
>Different versions of Tomcat 5.5 seem to react differently when the path
>parameter is present illegally.
>
> - Chuck


---------------------------------------------------------------------
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