Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Migration (5.0.28 > 5.5)

 
brithin gonsalves
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm new in this forum and request your help.

I have to migrate the tomcat version of my Windows server from 5.0.28 to 5.5.
The java version used is 1.4.2_06.
The tomcat has load balancing so there are two tomcat nodes running in the server.

Can you give me the steps for the migration ?

Thank you in advance.

Brithin
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first thing you should do is install Java 5 or later. Java 1.4 is past its end of life.

The second thing you should do is consider whether Tomcat 5.5 is a good target, considering that the latest supported Tomcat is version 7.0.

Tomcat 7 may be a little too bleeding-edge right now, but at least consider skipping to Tomcat6.
 
brithin gonsalves
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok Tim, I understand but if I change the java version, I would have to modify my application code ?
Can you give me the steps if I migrate from 5.0.28 to 6 ?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have a cookbook solution to that problem, I'm afraid. Upgrading from Java 1.4 to Java 6 is "supposed" to be transparent, because Java maintains strict backwards compatibility. But it's an imperfect world, so occasionally, a "gotcha" will pop up that requires a code mod. In some cases, you may need to run the compiler using the "-source" option to allow for things like earlier versions of Java allowing the now-reserved word "enum" to be used as a variable name. I've run into an app or 2 that did that.

The most obvious differences between Tomcat5 and Tomcat6 are that the 3 lib directories have been replaced with a single lib directory in Tomcat6 and that Tomcat6 provides a built-in EL implementation jar, so any webapps that had included their own EL implementation jar in WEB-INF/lib must remove it.

Overall, however, you shouldn't find upgrading to be too difficult, however.
 
lucas saperi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And do you know the differences between tomcat 5.5 and tomcat 7?
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic