Upgrading Tomcat version without breaking existing applications

时间:2017-08-30 20:35:20

标签: tomcat oracle-apex-5.1

I have Tomcat 8.5.15 installed and I need to upgrade it to 8.5.16 to match all the other environments. From what I read, in place upgrade can be performed with monor version updates as long as the config files are updated with the correct parameters.

Tomcat documentation states:

SELECT DISTINCT wpgc.user_id, wpgc.status, wpgc.content_id, wpu.meta_key,
                CASE wpu.meta_value WHEN 'male' THEN 'M' WHEN 'female' THEN 'F'
                                    WHEN 'Louisiana' THEN 'LA' ELSE wpu.meta_value END AS '1',
                wpu.user_id, wpgc.timestamp
FROM wp_grassblade_completions AS wpgc
JOIN wp_usermeta AS wpu ON wpgc.user_id = wpu.user_id
WHERE wpgc.timestamp >= ?
  AND wpu.meta_key IN ('mepr_full_name', 'mepr_address', 'mepr_city', 'mepr_state',
                       'mepr_zip_code', 'mepr_home_phone_with_area_code',
                       'mepr_drivers_license_or_id', 'mepr_id_state',
                       'mepr_LAst_four_of_social_security_number',
                       'mepr_date_of_birth_mmddyyyy', 'mepr_sex_mf', 'mepr_height',
                       'mepr_weight')
  AND content_id IN ('1575, 642, 1580')
ORDER BY wpgc.timestamp, wpgc.content_id, wpu.user_id, wpu.meta_key

I ran the tool provided by tomcat to look at the differences and does not look like it would be a problem, but my concern is will the web apps currently hosted on Tomcat break during the upgrade process?

In particular I am concerned about APEX ORDS application

1 个答案:

答案 0 :(得分:0)

  

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

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

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

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