Migration of Tomcat 3.2 to Tomcat 6.0

2007-09-26 Thread Parandhaman, Vishnu Prasad (STSD)
Hi,
Could anyone point out if there's a practical guide / tip to migrate
from tomcat 3.2 to tomcat 6.0 ?
(had anyone done before)
Basically there are lot of changes between the 3.2 and 6.0 versions in
terms of structure and files. 

Moreover the older tomcat 3.2 was used along with apache (through
mod_jk). 

Now when we start with the new tomcat 6 as a HTTP  Web Server it throws
up a lot of exceptions.

Thanks,
--vishnu



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Migration of Tomcat 3.2 to Tomcat 6.0

2007-09-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Vishnu,

Parandhaman, Vishnu Prasad (STSD) wrote:
 Hi,
 Could anyone point out if there's a practical guide / tip to migrate
 from tomcat 3.2 to tomcat 6.0 ?
 ([has] anyone done [this] before)

I don't think anyone has ever made that jump before, so I don't think
there is such a guide out there. We'd appreciate any notes you take
during your upgrade, though!

 Basically there are lot of changes between the 3.2 and 6.0 versions in
 terms of structure and files. 

Yes. Although the servlet API is mostly (if not entirely) backward
compatible, your configuration will have to change dramatically.

 Moreover the older tomcat 3.2 was used along with apache (through
 mod_jk). 

mod_jk can still be used today. You may decide that you do not need it,
as Tomcat's ability to serve static content has improved quite a bit in
the, uh, 4 versions you're skipping.

 Now when we start with the new tomcat 6 as a HTTP  Web Server it throws
 up a lot of exceptions.

The first thing you have to do is throw out any server.xml files you may
have lying around from your old install. I tried upgrading from 4.1 to
5.5 by tweaking my old server.xml file, but it was a fool's errand. It's
much better to start with the server.xml file that is included with
Tomcat 6.0 and modify it until it meets your needs.

There is plenty of documentation on how to configure things in the new
versions on Tomcat. All of the documentation is available here:
http://tomcat.apache.org/tomcat-6.0-doc/index.html

The most useful things to read are probably going to be:

* Realms and AAA
* JDBC DataSources
* Connectors (if you choose to continue to use mod_jk)

That's about it. If you understood your 3.2 configuration, you should be
able to understand everything else just by reading the comments in the
server.xml file itself (there are LOTS of comments).

Hope that helps,
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG+mmC9CaO5/Lv0PARAgznAJwLLbvCuLfHv2ACx895Z3DB0DNVKQCfclfP
pYSeZw4rXJvbRrxyepW9UEs=
=KUod
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]