Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating Tomcat 4.1 to version 5

Status
Not open for further replies.

scripter73

Programmer
Apr 18, 2001
421
US
Hi,

I have Tomcat 4.1 installed. I need to update to version 5. Do I need to "uninstall" or can I install over the current version.

I'm concerned about losing my C:\Tomcat4.1\....\webapps. I've already saved the directory onto my hard drive though.

Thanks,
scripter73


Change Your Thinking, Change Your Life.
 
There is no need to uninstall v4.
Just unzip v5, make sure your TOMCAT_HOME / CATALINA_HOME variables are chnaged correctly, and copy your old webapps directory into the v5 build.
 
Thanks, I'll try it out.


Change Your Thinking, Change Your Life.
 
Ok. I upgraded to C:\Tomcat 5.0. Here's the deal. I still have C:\Tomcat 4.1 installed, but here's my System Variables:

JAVA_HOME = c:\j2sdk1.4.2_03

CATLINA_HOME = C:\Tomcat 5.0

TOMCAT_HOME = C:\Tomcat 5.0

My Tomcat installation directories are: C:\Tomcat 4.1 and C:\Tomcat 5.0.

When I try to "check" my new installation by going to I get the standard webpage, butn in the upper left corner, I still see "Apache Tomcat/4.1.29" besides the Tomcat illustration.

Am i using the wrong URL to check my Tomcat 5.0 installation?

Thanks everyone for all of your help as I'm getting familiar with these products/environments.

scripter73



Change Your Thinking, Change Your Life.
 
I would say the problem is that tomcat4 is starting up. I'm not sure how you aer starting tomcat, but just try going to TOMCAT_HOME\bin and typing "catalina run" ro "catalina start" - this will fire the correct version.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top