I have a Struts2 webapp, in which I compiled using the Tomcat 5.5 libraries.
If I deploy this webapp on a Tomcat 6 server, should it still work without a hitch?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In theory, yes. In practice, you may want to check if you didn’t include some webapp-required libraries in the classpath of Tomcat 5.5. You may want to copy them to Tomcat 6.0 or to just include them in your webapp. Further there may be webapp-required configuration settings somewhere in
/conffolder, such as JNDI datasources. You may want to copy those settings to Tomcat 6.0 or to put it in webapp’s ownMETA-INF/context.xml.