• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Upgrade webapp from Java1.4 Tomcat 5 to Java1.6 Tomcat 6

 
Somesh Chitturi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to upgrade my webapp to Java6 and Tomcat6. I successfully upgraded it on a test server and am testing it using JMETER. I am testing the old configuration (Java1.4 and Tomcat5) vs new configuration (Java1.6 and Tomcat6). I noticed that the performance was bad with the new configuration.

  • Do I need to make an changes in my code to work well in Java6 (developed using java1.4)?.
  • Are there any known issues related to this task?.
  •  
    William Brogden
    Author and all-around good cowpoke
    Rancher
    Posts: 13064
    6
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I know of no issues and would expect the same or better performance.

    Exactly which aspect of performance have you measured as being worse?

    Bill
     
    Tim Holloway
    Saloon Keeper
    Pie
    Posts: 18212
    53
    Android Eclipse IDE Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    As I recall, Tomcat6 was reputed to be notably faster than Tomcat5. Tomcat5 was unfortunate enough to be stuck in the middle of the transition from the old (1.4 and earlier) JVMs to the new 1.5+ JVMS, where a lot changed, and it shows - there's 2 separate 5.x release chains, one for Java 1.x (5.0) and one for Java 5+ (5.5).

    Tomcat 6 no longer had to retain vestiges of backwards compatibility with Java 1.4, plus they did some general cleanup, so I'd expect it to do better overall. I never saw any hard numbers, but certainly I never felt any pain moving up myself.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic