I'm trying to use the Oracle Mail (Collaboration Suite) from a WebObjects application, and instead of using the JDBC "thin" (Type IV) driver, it use their Type 3 (JDBC + OCI), so a native OCI dynamic library is required, I took the one from their InstantClient for OS X. I adjusted the java.library.path in my XCode project to the correct path, I even copied the libs in /Library/Java/Extensions, I always get this error :

Error: com.webobjects.foundation.NSForwardException [java.lang.UnsatisfiedLinkError] null
Reason: no ocijdbc10 in java.library.path
Stack trace:
File Line# Method Package
ClassLoader.java 1517 loadLibrary java.lang
Runtime.java 788 loadLibrary0 java.lang
System.java 834 loadLibrary java.lang
T2CConnection.java 2926 loadNativeLibrary oracle.jdbc.driver
T2CConnection.java 224 logon oracle.jdbc.driver
PhysicalConnection.java 346 <init> oracle.jdbc.driver
T2CConnection.java 138 <init> oracle.jdbc.driver
T2CDriverExtension.java 78 getConnection oracle.jdbc.driver
OracleDriver.java 549 connect
...

I do have 'libocijdbc10.dylib' in the path, so I really don't know why it's doesn't to load. Does using dynamic C/C++ library works with Java on OS X ?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to