You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nick Wall <Ni...@mvtcanada.com> on 2015/01/09 01:28:29 UTC

RE: Moving tomcat Ver 6.0

Hi All 
New year so happy new year and im back at the install 
Thanks Leo for your step by step 

You mention - Install the java sdk, set the %JAVA_HOME% system environment variable?  Which SDK should I use ? and from where from?
I downloaded the latest SDK from the oracle site “jave_ee_sdk-7u1” is this the correct one ?

Cheers for now – Nick


-----Original Message-----
From: Leo Donahue [mailto:donahulf2@gmail.com] 
Sent: November-05-14 1:31 PM
To: Tomcat Users List
Subject: Re: Moving tomcat Ver 6.0

On Wed, Nov 5, 2014 at 2:53 PM, Nick Wall <Ni...@mvtcanada.com> wrote:

> -----Original Message-----
> From: Leo Donahue [mailto:donahulf2@gmail.com]
>
> >
> I kinda wonder though if there is a windows service associated with 
> this Tomcat.  Do you see anything called Tomcat6 in the windows services panel?
>
>
> >>
> Leo
> Yes I just  checked and there is a service running called Apache 
> Tomcat As you can tell I have no clue to this installation :)
>
> Nick
>

Generic steps:

First step would be to decide whether you want to deploy a 32bit or 64bit version of Tomcat.

1.  Download the latest Tomcat (32bit or 64bit, your decision) 1.b  Determine whether you want to download the zip or windows installer version of that architecture.  In your case, probably the later.
2.  Download the latest java sdk (same architecture as you picked above).
3.  Install the java sdk, set the %JAVA_HOME% system environment variable.
if you need help, ask.
4.  Install Tomcat using the windows service installer.  If you used a specific windows user account to run the previous service, make sure you set that in in the service properties.
5.  In your previous Tomcat installation, you need to take note of all of the settings and apply them to your new install.  This is the hard part.
You will want to compare the following files in the old and new installs:

tomcat-install-directory/conf:

context.xml
server.xml
tomcat-users.xml
web.xml

tomcat-install-directory/bin  run tomcat6w.exe you are looking for any custom settings for memory and other options...
(trying to recall the exact names of the tabs at the moment, where I am now we block Tomcat because we use a different web server, can't even install it here.. sorry list)

6.  Copy your webapps from the Tomcat6 webapps dir to Tomcat8 web apps dir.  I would also investigate any custom settings to the webapps/manager/META-INF/context.xml in the previous Tomcat6.  You don't know if there was a custom valve or something applied in there other than the default.

6.b  (Optional) Get rid of the docs and examples directories in your new Tomcat, or move them somewhere else if you want to keep them.

7.  Make sure you copy the old ROOT web app directory to the new Tomcat.

8.  Hard to say, but you might also have had custom jar files in the
previous tomcat6-install-directory/lib   Only way to know is to compare
what was in there.

This sucks that you have no documentation on the previous install, makes your life a little harder.  I'm sure others will chime in with things I have forgotten.

leo

RE: Moving tomcat Ver 6.0

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Nick Wall [mailto:Nick.Wall@mvtcanada.com] 
> Subject: RE: Moving tomcat Ver 6.0

> You mention - Install the java sdk, set the %JAVA_HOME% system environment variable?  

> Which SDK should I use ? and from where from?

> I downloaded the latest SDK from the oracle site "jave_ee_sdk-7u1" is this the correct one ?

No, for several reasons:

1) You don't need an SDK or JDK; a JRE is all that's necessary to run Tomcat.

2) You definitely don't want the EE version (an SDK), since that comes with a lot of junk that can conflict with Tomcat classes if you're not careful.

3) Java 7 will only be available until April, so you're looking at a dead end there.

Undo whatever you did, and go here to get a more appropriate JVM:

http://java.com/en/download/manual.jsp

You normally do not need to set JAVA_HOME or JRE_HOME, as long as the JVM is properly installed and not just copied into a directory somewhere.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org