• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Any experiences with migration from Tomcat 5 to Tomcat 6?

 
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
JavaMonitor Support
Posts: 251
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Marco,

No issues. I use the two interchangeably.
 
Marco Ehrentreich
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Marco Ehrentreich
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
None. All I changed was configuration.
reply
    Bookmark Topic Watch Topic
  • New Topic