Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 87315 invoked from network); 26 Sep 2007 14:16:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2007 14:16:23 -0000 Received: (qmail 92005 invoked by uid 500); 26 Sep 2007 14:15:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 91979 invoked by uid 500); 26 Sep 2007 14:15:55 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 91958 invoked by uid 99); 26 Sep 2007 14:15:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 07:15:55 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [63.240.77.84] (HELO sccrmhc14.comcast.net) (63.240.77.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 14:15:53 +0000 Received: from [192.168.1.101] (c-68-50-0-179.hsd1.va.comcast.net[68.50.0.179]) by comcast.net (sccrmhc14) with ESMTP id <2007092614153201400rlhhge>; Wed, 26 Sep 2007 14:15:33 +0000 Message-ID: <46FA6982.8090308@christopherschultz.net> Date: Wed, 26 Sep 2007 10:15:30 -0400 From: Christopher Schultz User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Migration of Tomcat 3.2 to Tomcat 6.0 References: In-Reply-To: X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org -----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: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org