catalina-ant file conflict detected while patching OES2018

  • 7023111
  • 19-Jun-2018
  • 17-Sep-2018

Environment

Open Enterprise Server 2018 (OES 2018) Linux

Situation

While patching OES 2018, the following error occurs:
 
"
A File Conflict Detected
 
File conflicts happen when two packages attempt to install
files with the same name but different contents. If you continue
the conflicting files will be replaced, losing previous content.
 
File /etc/ant.d/catalina-ant
  from install of
     tomcat-lib-8.0.50-29.8.2.noarch (SLES-mirror)
  conflicts with file from package
     tomcat6-lib-6.0.53-0.56.1.noarch (@System)
"

Resolution

Please choose "Continue" to proceed installation of the patch when this conflict occurs, so that the tomcat 6 version of /etc/ant.d/catalaina-ant gets replaced by the tomcat 8 version.

Cause

The file conflict only occurs when patching OES 2018 on servers where an older version of OES with tomcat 6 has been upgraded to OES 2018. The conflict occurs, because tomcat 6 has not been removed during the upgrade to OES 2018. The conflict does not occur on fresh OES 2018 installations. On OES 2018 tomcat 8 supersedes tomcat 6.