RE: JDBC Problem
- From: "Johnson, George" <GJohnson@xxxxxxx>
- To: "'ORACLE-L (E-mail)'" <oracle-l@xxxxxxxxxxxxx>
- Date: Mon, 29 Nov 2004 15:52:48 -0000
Thanks for the replies, found it buried in the Oracle docs.
LD_LIBRARY_PATH must be set to the base Oracle install lib directory, as
well!
Rgds
George J
-----Original Message-----
From: Johnson, George
Sent: 29 Nov 2004 15:22
To: ORACLE-L (E-mail)
Subject: JDBC Problem
Getting the following error trying to perform a simple JDBC thin connection
to a DB. Checked the CLASSPATH is pointing at classes12.zip (also tried
ojdbc14.jar), the Oracle bin is in the path. OS is redhat db is 10.1.0.3. I
know this is something really stupid, but I just can't think what I'm
missing.
Anyone familiar with Java have any ideas where I could look next?
Regards and thanks in advance
Gj
Connecting...Exception in thread "main" java.lang.UnsatisfiedLinkError: no
ocijdbc10 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at
oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:2927)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:225)
at
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:347)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:139)
at
oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:
79)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:549)
at
oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:196)
at
oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:146)
at JdbcCheckup.main(JdbcCheckup.java:36)
****************************************************************************
This message contains confidential information and is intended only
for the individual or entity named. If you are not the named addressee
you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. The sender therefore does not
accept liability for any errors or omissions in the contents of this
message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version.
This message is provided for informational purposes and should not
be construed as an invitation or offer to buy or sell any securities or
related financial instruments.
GAM operates in many jurisdictions and is
regulated or licensed in those jurisdictions as required.
****************************************************************************
--
http://www.freelists.org/webpage/oracle-l
Other related posts: