Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24613

(7.4.z) RHEL7/8 rpms: yum groupinstall jboss-eap7 installing JDK11 instead of JDK8 with EAP 7.4 Update 9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.10.CR1, 7.4.10.GA
    • 7.4.9.GA
    • RPM
    • None
    • False
    • None
    • False

      There are following warnings during the installation of JBoss EAP7 via groups:

      # dnf groupinstall jboss-eap7
      ...
      No match for group package "java-1.8.0-openjdk or java-1.8.0-ibm"
      

      and

      # dnf groupinstall jboss-eap7-jdk17
      No match for group package "java-17"
      

      Looking on the comps-group.xml file for the JBoss EAP7 groups:

      <group>
      <id>jboss-eap7</id>
      <default>false</default>
      <uservisible>true</uservisible>
      <display_order>1024</display_order>
      <name>Red Hat JBoss EAP 7.4</name>
      <description>Red Hat JBoss Enterprise Application Platform 7.4 on JDK 8</description>
      <packagelist>
      <packagereq type="mandatory">eap7-artemis-native-wildfly</packagereq>
      <packagereq type="mandatory">eap7-runtime</packagereq>
      <packagereq type="mandatory">eap7-wildfly</packagereq>
      <packagereq type="mandatory">eap7-wildfly-modules</packagereq>
      <packagereq type="mandatory">java-1.8.0-openjdk or java-1.8.0-ibm</packagereq>
      </packagelist>
      </group>
      <group>
      <id>jboss-eap7-jdk11</id>
      <default>false</default>
      <uservisible>true</uservisible>
      <display_order>1024</display_order>
      <name>Red Hat JBoss EAP 7.4 on JDK 11</name>
      <description>Red Hat JBoss Enterprise Application Platform 7.4 on JDK 11</description>
      <packagelist>
      <packagereq type="mandatory">eap7-artemis-native-wildfly</packagereq>
      <packagereq type="mandatory">eap7-runtime</packagereq>
      <packagereq type="mandatory">eap7-wildfly</packagereq>
      <packagereq type="mandatory">eap7-wildfly-modules</packagereq>
      <packagereq type="mandatory">java-11-openjdk</packagereq>
      </packagelist>
      </group>
      <group>
      <id>jboss-eap7-jdk17</id>
      <default>false</default>
      <uservisible>true</uservisible>
      <display_order>1024</display_order>
      <name>Red Hat JBoss EAP 7.4 on JDK 17</name>
      <description>Red Hat JBoss Enterprise Application Platform 7.4 on JDK 17</description>
      <packagelist>
      <packagereq type="mandatory">eap7-artemis-native-wildfly</packagereq>
      <packagereq type="mandatory">eap7-runtime</packagereq>
      <packagereq type="mandatory">eap7-wildfly</packagereq>
      <packagereq type="mandatory">eap7-wildfly-modules</packagereq>
      <packagereq type="mandatory">java-17</packagereq>
      </packagelist>
      </group>
      

      For the JDK8 group - I believe that JDK package names are just fine, but it looks like DNF don't like more package names in the <packagereq type="mandatory"> element?

      For the JDK17 group - I believe that the name of the JDK package is just wrong. It should be java-17-openjdk instead - as is for JDK11 group variant.


      Note: this issue may be more or less related to JBEAP-24588. And is similar to JBEAP-24612.

            permaine Permaine Cheung
            jstourac@redhat.com Jan Stourac
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: