aspose file tools*
The moose likes Tomcat and the fly likes Tomcat Migration (5.0.28 > 5.5) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Migration (5.0.28 > 5.5)" Watch "Tomcat Migration (5.0.28 > 5.5)" New topic
Author

Tomcat Migration (5.0.28 > 5.5)

brithin gonsalves
Greenhorn

Joined: Mar 16, 2011
Posts: 2
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

Joined: Jun 25, 2001
Posts: 16019
    
  20

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
brithin gonsalves
Greenhorn

Joined: Mar 16, 2011
Posts: 2
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

Joined: Jun 25, 2001
Posts: 16019
    
  20

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

Joined: Aug 09, 2011
Posts: 1
And do you know the differences between tomcat 5.5 and tomcat 7?
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Migration (5.0.28 > 5.5)