2017-08-30 122 views
0

我安装了Tomcat 8.5.15,我需要将其升级到8.5.16才能与所有其他环境相匹配。从我读的内容来看,只要使用正确的参数更新配置文件,就可以使用monor版本更新进行升级。在不破坏现有应用程序的情况下升级Tomcat版本

Tomcat文档状态:

When upgrading instances of Apache Tomcat from one version of Tomcat 8 to 
another, particularly when using separate locations for $CATALINA_HOME and 
$CATALINA_BASE, it is necessary to ensure that any changes in the 
configuration files such as new attributes and changes to defaults are 
applied as part of the upgrade. To assist with the identification of these 
changes, the form below may be used to view the differences between the 
configuration files in different versions of Tomcat 8. 

我跑在Tomcat提供的工具来看待分歧,看起来并不像它会是一个问题,但我关心的是将web应用程序目前在Tomcat托管在升级过程中中断?

尤其是我所关心的APEX ORDS应用

+0

[软件测试](https://en.m.wikipedia.org/wiki/Software_testing) –

回答

0

将在Web应用程序在升级过程中目前托管在Tomcat的休息时间吗?

应用程序总有机会对特定版本的平台的行为产生未知依赖。在行为发生变化之前,这是未知的 - 通过回归错误或因为此行为未指定,选择/实现发生变化。它仍然没有说明,但不同。

这就是说,你不应该依赖一个互联网论坛帖子,告诉你你的应用程序(无论它是什么)与你的平台的随机版本兼容。可能性是它会兼容,但最终你必须为自己验证。

当然,这样的更新必须在Tomcat关闭时进行,而不是在正常运行时间内完成。如果您真的依赖于您的应用的可用性,我建议您将最新的备份恢复到新机器,更新它并测试它是否仍在工作。这有很好的副作用,你也证明你能够恢复你的备份。然而,测试是不可避免的。我不知道如何发音。它可以是“必须做”或“您必须做”。

相关问题