• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Upgrade Tomcat to which version?

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


We are planning to upgrade our Tomcat from 4.1.31.

Our's is an Axis 1.4 application where we have our web services.

Request you to suggest the latest stable version of Tomcat 5 or Tomcat 6 suitable for our application. And the things to consider while upgrading.

Will the existing 1.4 Java code base works smoothly on Tomcat 5 or 6?

And going further we may write the code in JDK 1.5 as well. So, having Java 1.4 code and Java 1.5 code together, will create any problems?

Kindly suggest.

Please share your upgradation experiences.

Thank You
 
Saloon Keeper
Posts: 28133
198
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
Unlike Microsoft's offerings, Java is intensely engineered to ensure backwards compatibility. Except in very rare cases, taking code that was developed for Java 1.4 and running it under a Java 5 or 6 VM should not make any difference whatsoever. And in the rare cases where it does, it's likely that the code wasn't really clean even for Java 1.4.

Tomcat 5.0 runs under Java 1.4, but I don't recommend that. Tomcat 5.5 runs under Java 1.5. In most cases, I recommend going straight to Tomcat 6, however. Do be aware that there are some small differences in setup for Tomcat 6, though. Most notably, instead of 3 library directories, Tomcat 6 has only 1.

Returning to the primary question, once you start running in a Java 5 environment, as long as you compile for Java 1.5 or later, the Java 1.4 code will just be Java 5 code that doesn't use Java 5 features as far as the system is concerned.
 
Arnav Velimala
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well Said !!

Thank you for the clarifications

Lemme try on Tomcat 6 and JDK 1.6.

Will soon share my experiences.

thanks.

 
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
Please keep in mind that Java 1.5 has been EOSL for months. Leave it behind you and look at today.

Kees Jan
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kees,

Did you mean to link to the EOL Policy page?

Regards, Andrew
 
Kees Jan Koster
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
D'oh! Corrected the link. Thanks.
 
A lot of people cry when they cut onions. The trick is not to form an emotional bond. This tiny ad told me:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic