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

Error installing Oracle Driver JDBC on JBoss EAP for OpenShift using Galleon

XMLWordPrintable

    • False
    • None
    • False

      In the process of building the image, "org.jboss.eap:eap-datasources-galleon-pack:7.4.0.GA-redhat-00003" is configured to fetch the cause from https://repo1 .maven.org /maven2/com/oracle/ojdbc/ojdbc8/

      com.oracle.ojdbc

       

      However, this address only has a single available version of the Oracle JDBC Driver "19.3.0.0"

      It is necessary to change the pointer to look for the one maintained at the address below, where all other versions of the JDBC Driver are located.
      https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/

      com.oracle.database.jdbc

       

       
       

      [INFO] -------------< org.jboss.galleon.s2i:layers-provisioning >-------------- 52[INFO] Building Provision a set of Galleon layers from s2i feature-pack 1.0.0.Final 53[INFO] --------------------------------[ pom ]--------------------------------- 54[INFO] 55[INFO] --- galleon-maven-plugin:4.2.8.Final:provision (wildfly-provisioning-layers jaxrs-server,oracle-driver) @ layers-provisioning --- 56[INFO] Downloading from central: https://repo1.maven.org/maven2/com/oracle/ojdbc/ojdbc8/21.6.0.0/ojdbc8-21.6.0.0.jar 57[INFO] Downloading from redhat-ga-repository: https://maven.repository.redhat.com/ga/com/oracle/ojdbc/ojdbc8/21.6.0.0/ojdbc8-21.6.0.0.jar 58[INFO] Downloading from redhat-ea-repository: https://maven.repository.redhat.com/earlyaccess/all/com/oracle/ojdbc/ojdbc8/21.6.0.0/ojdbc8-21.6.0.0.jar 59[INFO] Downloading from jboss-eap-repository: https://maven.repository.redhat.com/techpreview/all/com/oracle/ojdbc/ojdbc8/21.6.0.0/ojdbc8-21.6.0.0.jar 60[INFO] ------------------------------------------------------------------------ 61[INFO] BUILD FAILURE 62[INFO] ------------------------------------------------------------------------ 63[INFO] Total time: 2.302 s 64[INFO] Finished at: 2023-03-02T14:00:38Z 65[INFO] ------------------------------------------------------------------------ 66[WARNING] The requested profile "openshift" could not be activated because it does not exist. 67[ERROR] Failed to execute goal org.jboss.galleon:galleon-maven-plugin:4.2.8.Final:provision (wildfly-provisioning-layers jaxrs-server,oracle-driver) on project layers-provisioning: Provisioning failed: Failed to process JBoss module XML template for feature-pack org.jboss.eap:eap-datasources-galleon-pack:7.4.0.GA-redhat-00003 package com.oracle.ojdbc: Failed to resolve artifact com.oracle.ojdbc:ojdbc8:jar:21.6.0.0: Failed to resolve com.oracle.ojdbc:ojdbc8:jar:21.6.0.0: Could not find artifact com.oracle.ojdbc:ojdbc8:jar:21.6.0.0 in central (https://repo1.maven.org/maven2) -> [Help 1] 68org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.galleon:galleon-maven-plugin:4.2.8.Final:provision (wildfly-provisioning-layers jaxrs-server,oracle-driver) on project layers-provisioning: Provisioning failed

       
       

              jdenise@redhat.com Jean Francois Denise
              rhn-support-jneto Joel Neto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: