Getting error installing Oracle Driver JDBC on JBoss EAP for OpenShift using Galleon

Solution Verified - Updated -

Issue

  • Getting error installing Oracle Driver JDBC on JBoss EAP for OpenShift using Galleon.
  • Error installing different versions of Oracle Driver JDBC on JBoss EAP for OpenShift using Galleon:

[INFO] -------------< org.jboss.galleon.s2i:layers-provisioning >-------------- [INFO] Building Provision a set of Galleon layers from s2i feature-pack 1.0.0.Final [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- galleon-maven-plugin:4.2.8.Final:provision (wildfly-provisioning-layers jaxrs-server,oracle-driver) @ layers-provisioning --- [INFO] Downloading from central: https://repo1.maven.org/maven2/com/oracle/ojdbc/ojdbc8/21.6.0.0/ojdbc8-21.6.0.0.jar [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 [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 [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 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.302 s [INFO] Finished at: 2023-03-02T14:00:38Z [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "openshift" could not be activated because it does not exist. [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] org.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

Environment

  • Red Hat OpenShift Container Platform
    • 4.x
  • Red Hat JBoss EAP for OpenShift
    • jboss-eap74-openjdk11-openshift:7.4.0 or later
  • Galleon layers
    • eap-datasources-galleon-pack:7.4.0.GA-redhat-00003

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content