tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Migration of Tomcat 3.2 to Tomcat 6.0
Date Wed, 26 Sep 2007 14:15:30 GMT
Hash: SHA1


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:

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
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla -


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message