tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Ingraham" <>
Subject RE: Moving Tomcat
Date Thu, 04 Jan 2007 16:51:17 GMT
I want to thank everyone for the insightful information yesterday on my query about moving
Tomcat.  I have not moved anything at this time but I have made a copy onto CD of everything
that resides on the /usr/local/src directory.  This does include the jakarta-tomcat-5.5.9
directory and all of its content.  Again, as far as I can determine everything associated
with our website does reside in this directory.

Martin, there is a lib and a classes directory in the /shared directory but there are no files
in those directories.  However, there are lib and classes directories with files in the /usr/local/src/jakarta-tomcat-5.5.9/common

I have read through the link you provided below.  There are a few .jar files that reside in
the folder that the "howto" article does not discuss.  Here is a list of the .jar files in

There is one file in /usr/local/src/jakarta-tomcat-5.5.9/common/classes/:

Here are the files in /usr/local/src/jakarta-tomcat-5.5.9/server/lib/:

There are no files in the /usr/local/src/jakarta-tomcat-5.5.9/server/classes directory.

I do not see a .war file in the /usr/local/src/jakarta-tomcat-5.5.9/webapps directory or any
other directories.  I do believe that all the web site content does reside in the webapps/online
directory.  There are several files and folders in the online directory.  I have not seen
anything that indicates the content resides anywhere else.

If it is not obvious that there would be any files outside of the /usr/local/src directory
except the JDK which I see resides at /usr/java/jdk1.5.0 can I then assume everything needed
is going to be found in the /usr/local/src/ directory under the various appropriate directories?

Other questions, could I download tomcat and java fresh onto the new server that I am moving
the web site onto?  If I download updated versions of these programs would the web site function
normally if I just copy the content files from /webapps/online on the old server into the
same directories on the new server?  Or, would I have some additional configuring to do?

I'm glad to hear that Steve!

to recap--
Get same version JVM installed on new tomcat
Get same version Tomcat installed (with manager and admin working) on new Tomcat copy over
jars from $CATALINA_BASE/shared/lib/*.* copy over class files from $CATALINA_BASE/shared/classes/*.*

if you see extra jars or class files located in either $CATALINA_HOME/common/lib or $CATALINA_HOME/common/classes
read this
once you feel you grasp the implications of what jars should be located in the common folder
then copy jars and classes only on a as-needed basis

All of your webapps live in a self contained package called WebAppName.war  
(confirm by viewing folders located at  $CATALINA_BASE/webapps 
and all war files located at $CATALINA_BASE/webapps/*.war)
you should use the manager of the new server to open each war file and carefully note any
error messages at top of manager screen 
If the top of the manager screen displays errors 
then view the tail end of the log file located at $CATALINA_BASE/logs/HostName.YYYY-MM-DD.log

As always we are here to help
This e-mail message (including attachments, if any) is intended for the use of the individual
or entity to which it is addressed and may contain information that is privileged, proprietary
, confidential and exempt from disclosure. If you are not the intended recipient, you are
notified that any dissemination, distribution or copying of this communication is strictly
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant)
s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé
ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il
est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
To: "Tomcat Users List" <>
Sent: Wednesday, January 03, 2007 1:52 PM
Subject: Re: Moving Tomcat

> If you have the second server setup then you can install tomcat and 
> copy the webapps folder over and see what happens. Once you start 
> getting errors from the new server then you can troubleshoot until 
> everything is fixed. It will be difficult to know if everything will 
> work without testing. So I'll suggest to build the new server first, 
> unless of course you'll be using the same hardware then you can't do 
> that.
> On 1/3/07, Steve Ingraham <> wrote:
>> >> Here is the website in question:
>> >You can't tell where things are by looking from the outside; the 
>> >URLs
>> used to access the web site can be easily mapped to >various 
>> locations in the file system by servlet-mappings, appBase and docBase 
>> attributes, filters, symbolic links, etc.  A >well-designed and 
>> well-managed web site will have such things documented, but 
>> unfortunately many just seem to evolve.
>> Ok, I understand what you are saying about not seeing the location 
>> from the outside.  However, am I wrong in thinking that I can track 
>> down the location if I know where everything is residing?  For 
>> example, if I click on the "judges for retention" link on the left 
>> side of the main webpage the browser is directed to an address of: 
>> I know that the "online" directory resides in the 
>> /usr/local/src/jakarta-tomcat-5.5.9/webapps/ directory and therefore 
>> the "JudgeVote.2006.jsp" file should be in that online directory.  
>> When I navigate to that directory on the server I can see that file. 
>> Therefore, I have been looking at each page/link in this manner.  I 
>> look at the address location in the web browser and then navigating 
>> to the appropriate directory in the /usr/local/src/. . . directory I 
>> believe it is on the server to verify that the file in question is 
>> there.  So far this has worked in showing me the exact directory 
>> location for each page/link I have looked at.  Is this a legitimate 
>> way to go about this or am I going to overlook something in using 
>> this method?
>> As far as your comment about documentation, I am afraid I have not 
>> come across any documentation detailing any of the website design.
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail:
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:
> --
> "talk trash and carry a small stick."

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message