RE: Moving tomcat Ver 6.0

2015-01-08 Thread Nick Wall
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:donahu...@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 nick.w...@mvtcanada.com wrote:

 -Original Message-
 From: Leo Donahue [mailto:donahu...@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


Moving tomcat Ver 6.0

2014-11-05 Thread Nick Wall
Hi All
Sorry new user to this
We have a Win server 2003 running Tomcat and our software I need to move this 
to a new win 2008 R2 server
Is there an easy way to move everything over etc. 
Looking at easiest way to move everything over.

Or if you are familiar with this and can assist setting up and moving could 
look at that possibility as well 

Nick Wall  AScT
IT Manager 
nick.w...@mvtcanada.com



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



RE: Moving tomcat Ver 6.0

2014-11-05 Thread Nick Wall
-Original Message-
From: Leo Donahue [mailto:donahu...@gmail.com] 
Sent: November-05-14 12:32 PM
To: Tomcat Users List
Subject: Re: Moving tomcat Ver 6.0

On Wed, Nov 5, 2014 at 1:48 PM, Nick Wall nick.w...@mvtcanada.com wrote:

 Hi All
 Sorry new user to this
 We have a Win server 2003 running Tomcat and our software I need to 
 move this to a new win 2008 R2 server Is there an easy way to move 
 everything over etc.
 Looking at easiest way to move everything over.

 Or if you are familiar with this and can assist setting up and moving 
 could look at that possibility as well

 Nick Wall  AScT
 IT Manager
 nick.w...@mvtcanada.com


You might as well consider getting the latest version of Tomcat while you're at 
it, and then moving your webapps to that new installation.

You will want to check the customizations (if you made any) in web.xml, 
server.xml, tomcat-users.xml and anything under conf/Catalina/localhost that 
you placed there intentionally in the 2003 Tomcat installation.

Don't forget to use the same service account, if you created one.

You will also want to check the 2003 tomcat7w.exe for any custom options you 
used there, like memory settings, etc.

Leo


HI Leo 
Thanks for the reply and info :)

Can I just copy the folder/files you mention and put in the new installation on 
the 2008 server ?

As for a service account I have no idea if one exists  as this was installed 
about 5 yrs ago and no one is left in the company that knows anything about it 
- Hence why I'm on this :) lol 

Nick 



RE: Moving tomcat Ver 6.0

2014-11-05 Thread Nick Wall
-Original Message-
From: Leo Donahue [mailto:donahu...@gmail.com] 
Sent: November-05-14 12:47 PM
To: Tomcat Users List
Subject: Re: Moving tomcat Ver 6.0

On Wed, Nov 5, 2014 at 2:36 PM, Nick Wall nick.w...@mvtcanada.com wrote:

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

 On Wed, Nov 5, 2014 at 1:48 PM, Nick Wall nick.w...@mvtcanada.com wrote:

  Hi All
  Sorry new user to this
  We have a Win server 2003 running Tomcat and our software I need to 
  move this to a new win 2008 R2 server Is there an easy way to move 
  everything over etc.
  Looking at easiest way to move everything over.
 
  Or if you are familiar with this and can assist setting up and 
  moving could look at that possibility as well
 
  Nick Wall  AScT
  IT Manager
  nick.w...@mvtcanada.com
 
 
 You might as well consider getting the latest version of Tomcat while 
 you're at it, and then moving your webapps to that new installation.

 You will want to check the customizations (if you made any) in 
 web.xml, server.xml, tomcat-users.xml and anything under 
 conf/Catalina/localhost that you placed there intentionally in the 2003 
 Tomcat installation.

 Don't forget to use the same service account, if you created one.

 You will also want to check the 2003 tomcat7w.exe for any custom 
 options you used there, like memory settings, etc.

 Leo

 
 HI Leo
 Thanks for the reply and info :)

 Can I just copy the folder/files you mention and put in the new 
 installation on the 2008 server ?


If the installation was done using the Tomcat zip version and it is not running 
as a windows service, yes, you should be able to do that.  Don't put all your 
eggs in this basket for the moment, you need more info.



 As for a service account I have no idea if one exists  as this was 
 installed about 5 yrs ago and no one is left in the company that knows 
 anything about it - Hence why I'm on this :) lol

 Nick


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


RE: Moving tomcat Ver 6.0

2014-11-05 Thread Nick Wall
Thanks all so far I will take a look at this again tomorrow and see what I can 
figure out 
Nick 


-Original Message-
From: Leo Donahue [mailto:donahu...@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 nick.w...@mvtcanada.com wrote:

 -Original Message-
 From: Leo Donahue [mailto:donahu...@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