You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jody Williams <jo...@gmail.com> on 2008/08/27 17:24:35 UTC

Migration from 4.1 to 6

I need to migrate from tomcat 4.1 to 6.  Are there any concerns I need
to know about before starting?  Are there any suggestions to make the
transition easier?

In the data center, we are using a RedHat (AS 2.1 I believe) server.
I don't have the ability to test the application on another server to
verify compatibility.

Any information would be greatly appreciated.

Jody

---------------------------------------------------------------------
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


Re: Migration from 4.1 to 6

Posted by Jody Williams <jo...@gmail.com>.
I will look into running both concurrently.  My boss understands.  The
issue is the time it takes to get a machine authorized to be placed on
the network.  For a server can take several months.  Since this is on
the legacy network that is going away, getting the authorization is
difficult.

I think my boss wants me to do the research and have an plan to
migrate if we are forced to do so.  We can probably buy some time.

Jody

On Sat, Aug 30, 2008 at 12:23 PM, Christopher Schultz
<ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jody,
>
> Jody Williams wrote:
>> I can't go into much detail about the current operational system.
>>
>> Is it possible to have the 4.1 and 6 run concurrently?
>
> Of course. But, you'll have to set the <Connector> ports differently for
> each one.
>
> Ideally, your webapp should have all of its configuration packaged into
> the WAR file (see the docs on context.xml I sent in my previous
> message), so deployment onto your TC 6 should not take too much in the
> way of configuration. TC 4.1 still requires <Context> elements in the
> server-wide server.xml, though.
>
>> This is a Navy system.  I don't have the ability or authority to bring
>> another machine online for testing (whether it be a physical or VM).
>
> Does your boss understand that not being able to test before deployment
> is a grave error? Likewise, testing on a production system can be
> disastrous.
>
> Good luck,
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAki5c/EACgkQ9CaO5/Lv0PB9bwCeNEYgmM9MnmuToJFF1X8+q+Gy
> HC0AniU+nSnakbPb1ZK69r6SxdOQrhLN
> =yxNH
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
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


Re: Migration from 4.1 to 6

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jody,

Jody Williams wrote:
> I can't go into much detail about the current operational system.
> 
> Is it possible to have the 4.1 and 6 run concurrently?

Of course. But, you'll have to set the <Connector> ports differently for
each one.

Ideally, your webapp should have all of its configuration packaged into
the WAR file (see the docs on context.xml I sent in my previous
message), so deployment onto your TC 6 should not take too much in the
way of configuration. TC 4.1 still requires <Context> elements in the
server-wide server.xml, though.

> This is a Navy system.  I don't have the ability or authority to bring
> another machine online for testing (whether it be a physical or VM).

Does your boss understand that not being able to test before deployment
is a grave error? Likewise, testing on a production system can be
disastrous.

Good luck,
- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki5c/EACgkQ9CaO5/Lv0PB9bwCeNEYgmM9MnmuToJFF1X8+q+Gy
HC0AniU+nSnakbPb1ZK69r6SxdOQrhLN
=yxNH
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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


Re: Migration from 4.1 to 6

Posted by Jody Williams <jo...@gmail.com>.
I can't go into much detail about the current operational system.
This is a Navy system.  I don't have the ability or authority to bring
another machine online for testing (whether it be a physical or VM).

Is it possible to have the 4.1 and 6 run concurrently?

Jody


On Sat, Aug 30, 2008 at 12:16 AM, Christopher Schultz
<ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jody,
>
> Jody Williams wrote:
>> I need to migrate from tomcat 4.1 to 6.  Are there any concerns I need
>> to know about before starting?  Are there any suggestions to make the
>> transition easier?
>
> Whatever you do, don't try to re-use your server.xml from 4.1. Start
> over with the one that ships with TC 6 and add capability as you go.
> Also, remember:
>
> 1. <Context> elements don't go into server.xml anymore
>   http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
>
> 2. Logging is completely different
>   http://tomcat.apache.org/tomcat-6.0-doc/logging.html
>
>> In the data center, we are using a RedHat (AS 2.1 I believe) server.
>> I don't have the ability to test the application on another server to
>> verify compatibility.
>
> That could be a problem. Do you mean that you're going to switch your
> production platform with no prior testing? :(
>
> Have you considered VMWare?
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAki4yacACgkQ9CaO5/Lv0PAzBACeIwfbcuT3tWTkzEAz30pyjhtw
> rCoAn3oV34GVsXHuF6rYZEblPXpezS5D
> =9Z1T
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
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


Re: Migration from 4.1 to 6

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jody,

Jody Williams wrote:
> I need to migrate from tomcat 4.1 to 6.  Are there any concerns I need
> to know about before starting?  Are there any suggestions to make the
> transition easier?

Whatever you do, don't try to re-use your server.xml from 4.1. Start
over with the one that ships with TC 6 and add capability as you go.
Also, remember:

1. <Context> elements don't go into server.xml anymore
   http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

2. Logging is completely different
   http://tomcat.apache.org/tomcat-6.0-doc/logging.html

> In the data center, we are using a RedHat (AS 2.1 I believe) server.
> I don't have the ability to test the application on another server to
> verify compatibility.

That could be a problem. Do you mean that you're going to switch your
production platform with no prior testing? :(

Have you considered VMWare?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki4yacACgkQ9CaO5/Lv0PAzBACeIwfbcuT3tWTkzEAz30pyjhtw
rCoAn3oV34GVsXHuF6rYZEblPXpezS5D
=9Z1T
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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