RE: Upgrading tomcat 5 on Windows

2004-06-09 Thread Shapira, Yoav
earch Informatics >-Original Message- >From: Michiel Toneman [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 09, 2004 8:22 AM >To: Tomcat Users List >Subject: Re: Upgrading tomcat 5 on Windows > >Hi Tim, > >Without giving any specific advice: > >Rule 1 of

Vedr.: Re: Upgrading tomcat 5 on Windows

2004-06-09 Thread Thomas Nybro Bolding
TECTED]> cc: Vedr.: Re: Upgrading tomcat 5 on Windows Hi Tim, Without giving any specific advice: Rule 1 of system administration: Always back up configuration files. Michiel Tim Penhey wrote: >Hi All, > >I have Tomcat 5.0.18 running on one machine with a number of con

Re: Upgrading tomcat 5 on Windows

2004-06-09 Thread Michiel Toneman
Hi Tim, Without giving any specific advice: Rule 1 of system administration: Always back up configuration files. Michiel Tim Penhey wrote: Hi All, I have Tomcat 5.0.18 running on one machine with a number of configured webapps. If I install the 5.0.25 over the top will all the configuration files s

Upgrading tomcat 5 on Windows

2004-06-09 Thread Tim Penhey
Hi All, I have Tomcat 5.0.18 running on one machine with a number of configured webapps. If I install the 5.0.25 over the top will all the configuration files stay or should I back them up? Tim - To unsubscribe, e-mail: [EMA

Re: Upgrading Tomcat 5

2003-07-15 Thread Gerry Reno
Tim, For config files what about having Tomcat use variable constructions like we see in Ant scripts: $catalina.home, rather than fixed paths. Then Tomcat could write out server.xml with constructions like configFile="$catalina.home/conf/Catalina/www.vhost.com/ROOT.xml". This would make upgradi

Re: Upgrading Tomcat 5

2003-07-15 Thread Tim Funk
I haven't played (much) with the new deployer functionality yet. So I am unfamiliar with the minor details (and issues) of the path based dependencies. Running a script on config files is not a big deal for an upgrade. Most commercial software probably does that with (or without) our acknowledge

RE: Upgrading Tomcat 5

2003-07-14 Thread Ralph Einfeldt
change CATALINA_HOME in start.sh (unless the config files are incompatible between these versions) > -Original Message- > From: Gerry Reno [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 15, 2003 4:42 AM > To: Tomcat Users List > Subject: Re: Upgrading Tomcat 5 > &g

Re: Upgrading Tomcat 5

2003-07-14 Thread Gerry Reno
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 <[EMAIL PROTECTED]> wrote: > I don't think it is.

Re: Upgrading Tomcat 5

2003-07-14 Thread Tim Funk
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 .x

Re: Upgrading Tomcat 5

2003-07-14 Thread Gerry Reno
hese paths to the current $CATALINA_HOME which soon would be /usr/local/tomcat-5.0.4? Gerry Reno --- Gerry Reno <[EMAIL PROTECTED]> wrote: > Since Tomcat 5 will be removing vhost contexts from server.xml and > writing them out to conf/Catalina//.xml what will be > the procedu

Upgrading Tomcat 5

2003-07-14 Thread Gerry Reno
Since Tomcat 5 will be removing vhost contexts from server.xml and writing them out to conf/Catalina//.xml what will be the procedure for upgrading Tomcat 5? Right now under Tomcat 4, I install a new version, change my CATALINA_HOME, move my webapps to the new version and move all my vhost