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 grouper.hibernate.properties, 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(ClassLoader.java:1734)
       at java.lang.Runtime.loadLibrary0(Runtime.java:823)
       at java.lang.System.loadLibrary(System.java:1028)
       at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:4085)
       at java.security.AccessController.doPrivileged(Native Method)
       at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:4081)
       at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
       at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:468)
       at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
       at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:92)
       at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:839)
       at java.sql.DriverManager.getConnection(DriverManager.java:582)
       at java.sql.DriverManager.getConnection(DriverManager.java:185)
       at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkDatabase(GrouperCheckConfig.java:762)
       at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkGrouperDb(GrouperCheckConfig.java:652)
       at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:107)
       at edu.internet2.middleware.grouper.ui.GrouperUiFilter.init(GrouperUiFilter.java:616)
       at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:287)
       at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
       at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
       at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
       at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
       at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
       at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
       at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
       at org.apache.catalina.core.StandardService.start(StandardService.java:519)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)





Archive powered by MHonArc 2.6.16.

Top of Page