tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Moving Tomcat
Date Wed, 03 Jan 2007 19:35:58 GMT
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
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
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
HTH
M-
--------------------------------------------------------------------------- 
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
prohibited.
--------------------------------------------------------------------------- 
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 ----- 
From: "EDMOND KEMOKAI" <ekemokai@gmail.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
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 <singraham@okcca.net> wrote:
>>
>> >> Here is the website in question:
>> >> http://www.okcca.net/online/
>>
>> >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:
>> http://www.okcca.net/online/JudgeVote.2006.jsp
>>
>> 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: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> 
> -- 
> "talk trash and carry a small stick."
> PAUL KRUGMAN (NYT)
>
Mime
View raw message