The moose likes Tomcat and the fly likes Moving webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Moving webapps" Watch "Moving webapps" New topic

Moving webapps

Dan Parsons
Ranch Hand

Joined: May 30, 2007
Posts: 70
I have to move all my Tomcat web apps from my local Windows workstation to another new local Windows workstation. I assume I cant take the old workstation TomcatHome folder and move it to the new workstation.

I currently have Tomcat 4.1.27

Do I need to reinstall JDK 1.4 and JRE 1.4 and Tomcat 4.1.27 on the new workstation? Then copy my webapps from the old workstation to the new?

Please advise.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
You'll need to reinstall the JDK.

There isn't much to installing Tomcat - you should be able to copy the directory and then set the TOMCAT_HOME environment variable to point to it.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

How did you install Tomcat?
If you used the .exe version and want to have the start menu items or if you were running Tomcat as a Windows Service; and wish to do the same on the new machine, you'll want to install a new copy there.

If you're just starting it from the command line and want to do the same on your other machine, you should be able to copy the whole Tomcat directory.
You'll need to make sure you have Java and that your JAVA_HOME environment variable is correct on that machine.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Moving webapps
It's not a secret anymore!