Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-2667

jws5-tomcat rpm package for RHEL9 should not depend on java-1.8.0-headless which is unsupported on RHEL9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • None
    • rpm
    • None
    • False
    • None
    • False

      JWS on RHEL9 will install OpenJDK8 by default, but OpenJDK8 is not supported in RHEL9 even if it's distributed from rhel-9-for-x86_64-appstream-rpms repository (see OpenJDK Life Cycle and Support Policy).

      [root@rhel9 ~]# yum groupinstall jws5
      ...
      ===========================================================================================================================================
       Package                            Architecture  Version                                    Repository                               Size
      ===========================================================================================================================================
      Installing group/module packages:
       jws5-mod_cluster-tomcat            noarch        1.4.3-2.Final_redhat_00002.1.el9jws        jws-5-for-rhel-9-x86_64-rpms            9.8 k
       jws5-tomcat                        noarch        9.0.62-9.redhat_00005.1.el9jws             jws-5-for-rhel-9-x86_64-rpms            113 k
       jws5-tomcat-admin-webapps          noarch        9.0.62-9.redhat_00005.1.el9jws             jws-5-for-rhel-9-x86_64-rpms             73 k
       jws5-tomcat-vault                  noarch        1.1.8-4.Final_redhat_00004.1.el9jws        jws-5-for-rhel-9-x86_64-rpms            407 k
       jws5-tomcat-webapps                noarch        9.0.62-9.redhat_00005.1.el9jws             jws-5-for-rhel-9-x86_64-rpms             80 k
      Installing dependencies:
      ...
       java-1.8.0-openjdk-headless        x86_64        1:1.8.0.352.b08-2.el9_0                    rhel-9-for-x86_64-appstream-rpms         33 M   <<<===
      

      This seems to be due to jws5-tomcat-9.0.62-9.redhat_00005.1.el9jws.noarch depends on java-1.8.0-headless. We should modify the dependency to OpenJDK11 or later, especially in RHEL9.

      [root@rhel9 jws5]# rpm -qpR jws5-tomcat-9.0.62-9.redhat_00005.1.el9jws.noarch.rpm
      (java-headless >= 1:1.8 or java-1.8.0-headless or java-11-headless or java-17-headless or java >= 1:1.8)
      

              huwang@redhat.com Hui Wang (Inactive)
              rhn-support-nagetsum Norito Agetsuma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: