Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] 2.1.0, hibernate, oracle native driver, unsatisfiedlinkerror

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] 2.1.0, hibernate, oracle native driver, unsatisfiedlinkerror

Chronological Thread 
  • From: Tim Darby <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] 2.1.0, hibernate, oracle native driver, unsatisfiedlinkerror
  • Date: Fri, 30 Mar 2012 11:12:27 -0700

I'm in the midst of 2.1.0 testing and I ran into the same problem.  The way I got around it was to add the path to the Oracle client lib folder to the tomcat startup script.  if there's a better way, I'd love to hear from the tomcat and/or hibernate experts.

Tim Darby
The University of Arizona
Mosaic, Systems Integration and Architecture

UITS, Rm 335, 520-626-3799

On Fri, Mar 30, 2012 at 10:54 AM, Colin Hudler <> wrote:
What I have here is I think a grouper/hibernate incompatibility with our setup. I wonder if anyone would be willing to comment or confirm. We have been happily using the oracle native client with grouper 1.6.3. This is required because some of the features, mainly DataGuard.

Toying with 2.1.0 revealed a problem when running the UI (full stack below).

"java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path"

java.library.path does indeed include a path for the OCI library to be found, but not ocijdbc10. It should be asking for ocijdbc11. I assume the other version of hibernate dealt with this differently. Attached is the, for your inspection.

I know gsh probably uses GrouperStartup.ignoreCheckConfig = true

But I wonder what the difference in the test vs actual use is, and most importantly, how to get out of this situation.

Mar 29, 2012 3:01:23 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter GrouperUi
java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
       at java.lang.ClassLoader.loadLibrary(
       at java.lang.Runtime.loadLibrary0(
       at java.lang.System.loadLibrary(
       at oracle.jdbc.driver.T2CConnection$
       at Method)
       at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(
       at oracle.jdbc.driver.T2CConnection.logon(
       at oracle.jdbc.driver.PhysicalConnection.<init>(
       at oracle.jdbc.driver.T2CConnection.<init>(
       at oracle.jdbc.driver.T2CDriverExtension.getConnection(
       at oracle.jdbc.driver.OracleDriver.connect(
       at java.sql.DriverManager.getConnection(
       at java.sql.DriverManager.getConnection(
       at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkDatabase(
       at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkGrouperDb(
       at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(
       at edu.internet2.middleware.grouper.ui.GrouperUiFilter.init(
       at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
       at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(
       at org.apache.catalina.core.ApplicationFilterConfig.<init>(
       at org.apache.catalina.core.StandardContext.filterStart(
       at org.apache.catalina.core.StandardContext.start(
       at org.apache.catalina.core.ContainerBase.addChildInternal(
       at org.apache.catalina.core.ContainerBase.addChild(
       at org.apache.catalina.core.StandardHost.addChild(
       at org.apache.catalina.startup.HostConfig.deployDescriptor(
       at org.apache.catalina.startup.HostConfig.deployDescriptors(
       at org.apache.catalina.startup.HostConfig.deployApps(
       at org.apache.catalina.startup.HostConfig.start(
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
       at org.apache.catalina.core.ContainerBase.start(
       at org.apache.catalina.core.StandardHost.start(
       at org.apache.catalina.core.ContainerBase.start(
       at org.apache.catalina.core.StandardEngine.start(
       at org.apache.catalina.core.StandardService.start(
       at org.apache.catalina.core.StandardServer.start(
       at org.apache.catalina.startup.Catalina.start(
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(
       at java.lang.reflect.Method.invoke(
       at org.apache.catalina.startup.Bootstrap.start(
       at org.apache.catalina.startup.Bootstrap.main(

Archive powered by MHonArc 2.6.16.

Top of Page