tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerry Reno <gren...@yahoo.com>
Subject Re: Upgrading Tomcat 5
Date Tue, 15 Jul 2003 02:42:15 GMT
Tim,
  Is this definitive?  I was hoping this would not be the case.  I
think that requiring users to run content replacement scripts against
their config files to accomplish an upgrade will definitely end up
being problematic.

Gerry

--- Tim Funk <funkman@joedog.org> wrote:
> I don't think it is. But it might be as easy as:
> 
> X=/usr/local/tomcat-5.0.3/conf/Catalina/www.vhost.com
> Y=/usr/local/tomcat-5.0.4/conf/Catalina/www.vhost.com
> cp -r $X $Y
> perl -pi -e "s|$X|$Y|" $Y/*.xml
> 
> 
> -Tim
> 
> Gerry Reno wrote:
> >   One problem that I see with copying the conf/Catalina tree and
> these
> > <context>.xml files is with paths that are declared within the
> > <context>.xml files:  For example:
> > 
> > in ROOT.xml
> > <Context>
> >  ...        
> >
>
configFile="/usr/local/tomcat-5.0.3/conf/Catalina/www.vhost.com/ROOT.xml"
> >  ...
> > </Context>
> > 
> > Does Tomcat know to adjust these paths to the current
> $CATALINA_HOME
> > which soon would be /usr/local/tomcat-5.0.4?
> > 
> > Gerry Reno
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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