aspose file tools
The moose likes Tomcat and the fly likes Any experiences with migration from Tomcat 5 to Tomcat 6? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Any experiences with migration from Tomcat 5 to Tomcat 6?" Watch "Any experiences with migration from Tomcat 5 to Tomcat 6?" New topic
Author

Any experiences with migration from Tomcat 5 to Tomcat 6?

Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1220

Hi rangers,

could anyone please share some practical experiences regarding migration issues when moving from Tomcat 5 to Tomcat 6? In particular I'm NOT interested in installation or configuration issues. Instead I'd just like to hear some experiences regarding web application issues.

From what I've already read in this forum and articles on the internet etc. there seem to be almost no changes which directly effect web application (I know there are always exceptions ;-)). Can anybody confirm this who has migrated a custom application from Tomcat 5 to 6?

Thanks in advance!

Marco
Kees Jan Koster
Ranch Hand

Joined: Mar 31, 2009
Posts: 222
Dear Marco,

No issues. I use the two interchangeably.


Java-monitor, JVM monitoring made easy (and free)
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1220

Hi Kees,

thanks for your quick reply! This is exactly my experience, too. I'm already using Tomcat 6 for the said application for quite a while but I wanted to hear some similar experiences before using it for a production environment. After reading up in the Tomcat documentation most migration issues from version 5 to 6 seem to be related to installation or configuration but not really problems in the web applications themselves.

Marco
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14475
    
    7

The only major difference that comes to mind is that EL's implementation is part of the Tomcat-supplied libraries in Tomcat6, so you don't - and shouldn't - include them in WARs they way you had to for Tomcat5.

Technically, I believe that the older server/common/system library directories were replaced with a single lib directory in Tomcat6, but that should have little impact on the webapps.


Customer surveys are for companies who didn't pay proper attention to begin with.
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1220

Hi Tim,

our web app is only based on XML/XSL templates, so luckily EL doesn't have an impact anyway.

Technically, I believe that the older server/common/system library directories were replaced with a single lib directory in Tomcat6, but that should have little impact on the webapps.

That's correct and explained in the Tomcat documentation. Without explicit configuration changes Tomcat 6 only uses a "lib" directory in the base directory. But from what I read this shouldn't affect most web applications unless they expect a special behavior for class loading etc. At least with our web application there was nothing to do but to put all library JARs inside the /lib where they can be shared among all applications running in this container.

Marco
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56185
    
  13

None. All I changed was configuration.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Any experiences with migration from Tomcat 5 to Tomcat 6?
 
Similar Threads
Upgrade Tomcat to which version?
WAS to Tomcat migration
Migration of web application from WSAD 5.1.2 to RAD 6.0
Easy adoption guide!
Migration to JBOSS