Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / May 2006

Tip: Looking for answers? Try searching our database.

Access Oracle with JDBC through OCI

Thread view: 
oswaldt@ameritech.net - 31 May 2006 20:30 GMT
I am not sure if this is the proper group to post to, if not let let
know which would be better.

I have a requirement to connect to an Oracle encrypted listener in
HP-UX 11i so I understand I have to use OCI rather then the thin client
(which blows).  Anyway, I am getting this error and I am not sure
what's wrong

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/oracle_base/9207a/ora9207a/lib/libocijdbc9.sl: specified file is not a
shared library, or a format error was detected.
       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1585)
       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
       at java.lang.Runtime.loadLibrary0(Runtime.java:788)
       at java.lang.System.loadLibrary(System.java:834)
       at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:267)
       at
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:371)
       at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:551)
       at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351)
       at java.sql.DriverManager.getConnection(DriverManager.java:512)
       at java.sql.DriverManager.getConnection(DriverManager.java:171)
       at .wds.Connection.<init>(Connection.java:47)
       at wds.WDS.runBatch(WDS.java:32)

I assume it's something in or not in my path or ld_library_path.
ORACLE_HOME=/oracle_base/9207a/ora9207a
LD_LIBRARY_PATH=$ORACLE_HOME/lib

I have searched and came up empty handed on Google. Any help would be
greatly appreciated.

thank you,
Tyson Oswald
joeNOSPAM@BEA.com - 31 May 2006 22:13 GMT
> I am not sure if this is the proper group to post to, if not let let
> know which would be better.
[quoted text clipped - 33 lines]
> thank you,
> Tyson Oswald

Hi, not true. I just heard that the thin driver has properties you can
set that will allow it to communicate encrypted to the DBMS.
Joe Weinstein at BEA Systems
joeNOSPAM@BEA.com - 31 May 2006 22:25 GMT
In one document -
http://www.stanford.edu/dept/itss/docs/oracle/10g/java.101/b10979/clientsec.htm#
i1022564

I found that the jdbc thin driver from Oracle supports data encryption
and security with some property settings in the datasource.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.