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: Chris Hyzer <>
  • To: Colin Hudler <>, "" <>
  • Subject: RE: [grouper-users] 2.1.0, hibernate, oracle native driver, unsatisfiedlinkerror
  • Date: Fri, 30 Mar 2012 18:29:29 +0000
  • Accept-language: en-US

Do you only have one oracle jar on classpath? Does GSH work and the WS? I
don't know why it would be a hibernate thing... weird...
Maybe you need to explicitly specify the driver in
grouper.hibernate.properties, or the dialect......

-----Original Message-----
From:


[mailto:]
On Behalf Of Colin Hudler
Sent: Friday, March 30, 2012 1:54 PM
To:

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

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