Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Red Hat Linux installation conundrum for oracle.jdbc.driver.OracleDriver

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Red Hat Linux installation conundrum for oracle.jdbc.driver.OracleDriver

Chronological Thread 
  • From: Scott Koranda <>
  • To: Linda Toth <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] Red Hat Linux installation conundrum for oracle.jdbc.driver.OracleDriver
  • Date: Thu, 13 Aug 2015 17:35:11 -0500

Hi Linda,

On my Grouper 2.1.x deployment on CentOS 6.x I am using ojdbc6.jar with Oracle, but also previously used it with Oracle

I simply dropped the jar file into $GROUPER_HOME/lib/custom and removed the the other jar distributed with Grouper (your layout may differ depending on how you deploy).

We run it with OpenJDK 1.7.x provided by the RHEL repositories and have had no issues.


Scott K

On Thu, Aug 13, 2015 at 5:21 PM, Linda Toth <> wrote:
Good afternoon,

I tried out grouper installation first by installing in on my desktop (Mac OS/X) and using the hsqldb.  Although it was 100% smooth, I was able to reason out what was needed to completed the installation and had grouper up and running within a day.

The RHEL installation is not going well.  In production, we will be using Oracle rather than the bundled database.  

By reading the documentation and reviewing the tutorial, it is implied that all drivers needed for an installation are included in the installation package.  However, once I have entered the hibernate.connection.url, hibernate.connection.username, and hibernate.connection.password, the program throws the following exception trace (despite adding the ojdbc14.jar driver to a library and including it in the classpath.  The lines indicating issues in finding ojdbc14.jar are in red):

Checking database with query: select 1 from dual

Error: could not connect to the database: 

java.lang.RuntimeException: Error with query: select 1 from dual

at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(

at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(


at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.checkConnection(

at edu.internet2.middleware.grouperInstaller.GrouperInstaller.checkDatabaseConnection(

at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainInstallLogic(

at edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$300(

at edu.internet2.middleware.grouperInstaller.GrouperInstaller$GrouperInstallerMainFunction$1.logic(

at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(

at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(

Caused by: java.lang.RuntimeException: Error connecting to: null

at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.connection(

at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(

... 9 more

Caused by: java.lang.RuntimeException: Problem loading class: oracle.jdbc.driver.OracleDriver

at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.forName(

at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.connection(

... 10 more

Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

at java.lang.Class.forNameImpl(Native Method)

at java.lang.Class.forName(

at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.forName(

We need to get a replacement for our current role management system prototyped and available for users ASAP, so anything you can suggest would be most appreciated.


Linda Toth
University of Alaska - Office of Information Technology (OIT) - Identity and Access Management
910 Yukon Drive, Suite 103
Fairbanks, Alaska 99775

Archive powered by MHonArc 2.6.16.

Top of Page