0

我安装了 Tomcat 8.5.15,我需要将其升级到 8.5.16 以匹配所有其他环境。根据我的阅读,只要使用正确的参数更新配置文件,就可以使用单声道版本更新执行就地升级。

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 提供的工具来查看差异,看起来这不是问题,但我担心当前托管在 Tomcat 上的 Web 应用程序会在升级过程中中断吗?

我特别担心 APEX ORDS 申请

4

1 回答 1

0

当前托管在 Tomcat 上的 Web 应用程序会在升级过程中中断吗?

应用程序总是有可能对特定平台版本的行为产生未知的依赖性。在行为发生变化之前,这将是未知的 - 无论是通过回归错误还是因为未指定此行为并且选择/实现发生了变化。它仍然未指定,但有所不同。

话虽如此,您不应该依赖互联网论坛帖子来告诉您您的应用程序(无论是哪个)与您的平台的随机版本兼容。很有可能它会兼容,但最终你必须自己验证它。

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

于 2017-08-31T16:57:40.287 回答