Please enter information to test connection to the database
Connecting to the database...Connecting...
java.lang.UnsatisfiedLinkError: Can't find library libocijdbc8.so in
LIBPATH
LIBPATH=/usr/jdk_base/lib/aix/native_threads:/iata/app/oracle/product/8.0.5/jdbc
/lib:/apps/cobol/coblib:/iata/app/oracle/product/8.0.5/jdbc/lib
at java.lang.Runtime.loadLibrary(Compiled Code)
at java.lang.System.loadLibrary(Compiled Code)
at oracle.jdbc.oci8.OCIDBAccess.logon(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled
Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at JdbcCheckup.main(Compiled Code)
I am running on AIX Unix and my .profile has the following lines
added:
# Oracle (Java) Environment Variables
export CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111.zip:$ORACLE_HOME/jdbc/lib/nls_
charset11.zip:.:
export LIBPATH=$LIBPATH$ORACLE_HOME/jdbc/lib
export LD_LIBRARY_PATH=$ORACLE_HOME/jdbc/lib
Any help on getting this running would be appreciated.
Thanks,
Michael Chernecki
ADAPSYS L.P.
Is libocijdbc8.so in one of the directories in your LIBPATH?
Tom
mcher...@yahoo.com (Michael Chernecki) wrote in message news:<4cb5d65e.01120...@posting.google.com>...
Please enter information to test connection to the database
Connecting to the database...Connecting...
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8
in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1251)
at java.lang.Runtime.loadLibrary0(Runtime.java:473)
at java.lang.System.loadLibrary(System.java:771)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:459)
at java.sql.DriverManager.getConnection(DriverManager.java:139)
at JdbcCheckup.main(JdbcCheckup.java:35)
I tried using the thin client with no success. It appears that the servers
does not have a listener or whatever the oci docs called it. Any help
would be appreciated in resolving this as my deadline is approaching and
many of our people are leaving for holidays, i.e System Admin (he has
authority to do software installs if required).
Thanks,
Mike Chernecki
ADAPSYS L.P.
In article <21c01d72.01121...@posting.google.com>,
AlexV
"Michael Chernecki" <mcher...@yahoo.com> wrote in message
news:mchernecki-10...@slkras01-p100.mts.net...
Thanks,
Mike
In article <r9gR7.26526$oM3.1...@wagner.videotron.net>, "AV"
Thanks,
Michael Chernecki
ADAPSYS L.P.
"AV" <avek_...@videotron.ca> wrote in message news:<LwnR7.40328$oM3.1...@wagner.videotron.net>...