Reputation: 6250
I have few .WAR files that run on a tomcat 5.5 instance. So probably they would be Servlet Specification 2.3 or something not sure.
And I also have a new .WAR that is built with Servlet Spec 3.0 and needs tomcat7.
So my question is.. Can I deploy the old tomcat 5.5 .WARs in the tomcat7 instance?
So this way I'll have only ONE tomcat instance running. i.e. a Tomcat 7 that runs old and new WARs as well. Is this practical ?
Edit:: And how can I make tomcat7 run these old tomcat 5.5 applications, if at all this is possible ?
Upvotes: 4
Views: 2362
Reputation: 1649
If you're using a updated Java version (5+) for development, It should be working fine with the Tomcat version 7. So it should support your WAR and provide the backward compatibility.
If migrating: If you check the tomcat migration guide from version 5.5 to 6.0, there are couple of upgrades to do a proper migration according to the migration guide mentioned HERE
and also a minor changes from 6.0 to 7.0 of Tomcat.
So it clearly talks about the Java version that you use, and must be minimum of Java 5.
Upvotes: 0
Reputation: 539
Yes,it should have the minimum tomcat version as per the guidelines.
http://wiki.apache.org/tomcat/Specifications
Upvotes: 4