tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gene Volovich ...@cite.com>
Subject Re: replacing ROOT
Date Wed, 23 Mar 2005 13:32:18 GMT
Whooaa... You mean you can't do

<!--
     <Context whatever...>
-->

This sounds very fishy to me.  I've been using that in my server.xml 
file forever.  In any case, this is XML, so I don't see why this would 
be a problem.  I suspect that the original poster's problem, if this is 
a Tomcat 5.x issue and not tomcat 4, has to do with problems in the 
../conf/Catalina/<hostname>/<context>.xml file, which if you're 
upgrading from Tomcat 4, you might not think about.

Gene


On Mar 23, 2005, at 7:48 AM, Rajesh Bagade wrote:

> Comment for context should start from same line where context line 
> starts.
> It should be as follows
> <!-- <Context path="" docBase="ROOT" debug="0"/> -->
>
> --Rajesh Bagade
>
> -----Original Message-----
> From: Andreas Andersson [mailto:andreas@travelstart.se]
> Sent: Wednesday, March 23, 2005 5:33 PM
> To: Tomcat Users List
> Subject: Re: replacing ROOT
>
> Rajesh Bagade wrote:
>
>> In server.xml just comment original root context entry, and write 
>> your new
>> context.
>
> The weird think is that that context is already commented and has been
> so since I installed tomcat. It looks like this.
>
>          <!-- Tomcat Root Context -->
>          <!--
>            <Context path="" docBase="ROOT" debug="0"/>
>          -->
>
> When are the xml-files from /webapps read?
>
>
> --
> Andreas Andersson
> IT Dept.
> Travelstart Nordic
> andreas@travelstart.se
> http://www.travelstart.se
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005
>
>
> --------------------------------------
> iota technologies limited, pune, india
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message