将tomcat版本5.5.26更改为6.0.29?
目前我的服务器运行的是 Tomcat 5.5.26 和 JDK 1.5.15。
现在我想更改为tomcat 6.0.29和JDK 1.6.29。
当前环境中有许多应用程序正在运行,因此如果我可以更改为新环境,是否需要再次编译所有应用程序并上传到新环境,或者现有的 war 文件是否可以在新环境中使用?
Currently my server is running of the Tomcat 5.5.26 and JDK 1.5.15.
Now I want to change to tomcat 6.0.29 and JDK 1.6.29.
There was many application running of the current environment so if I can change to new environment the required to compile all the application again and upload on the new environment or existing war file is working with new environment?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应用程序应该能够正常工作。但是,您应该在将它们施加给用户之前对每一项进行彻底的测试,以确保万无一失。您的应用程序可能无意中依赖于 Tomcat 5 特定的行为。
此外,不需要在 java 6 下重新编译即可使它们工作。但是,您应该检查应用程序是否仍然可以在 Java 6 下编译。同样,它们应该这样做,但值得检查。
顺便说一句,为什么是 Tomcat 6? Tomcat 7 是 Tomcat 当前的稳定版本;如果你要迁移,你应该迁移到那里。
The applications should just work. However, you should do thorough testing of each one before inflicting them on your users, just to make sure. Your apps may be unintentionally relying on Tomcat 5-specific behaviour.
Furthermore, there should be no need to recompile under java 6 to make them work. However, you should check that the apps do still compile under Java 6. Again, they should, but it's worth checking.
Incidentally, why Tomcat 6? Tomcat 7 is current stable version of Tomcat; if you're going to migrate, you should migrate to that.