permaculture playing cards*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
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: 1280

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
JavaMonitor Support
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
Dear Marco,

No issues. I use the two interchangeably.


Java-monitor, JVM monitoring made easy <- right here on Java Ranch
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1280

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: 15952
    
  19

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

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: 60780
    
  65

None. All I changed was configuration.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Any experiences with migration from Tomcat 5 to Tomcat 6?
 
Similar Threads
Migration to JBOSS
Migration of web application from WSAD 5.1.2 to RAD 6.0
WAS to Tomcat migration
Easy adoption guide!
Upgrade Tomcat to which version?