File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Installation of JDriver (weblogic 5.1) for Oracle on Solaris Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Installation of JDriver (weblogic 5.1) for Oracle on Solaris" Watch "Installation of JDriver (weblogic 5.1) for Oracle on Solaris" New topic
Author

Installation of JDriver (weblogic 5.1) for Oracle on Solaris

Ramesh Jetty
Greenhorn

Joined: Jun 22, 2001
Posts: 2
Hi,
I installed jdriver(for Oracle)on solaris. I am getting the following error when i run utils.dbping from the console.
Error encountered:
java.sql.SQLException: System.loadLibrary threw java.lang.UnsatisfiedLinkError
with the message 'no weblogicoci36 in java.library.path'.
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Exception.java:42)
at java.sql.SQLException.<init>(SQLException.java:82)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:106)
at utils.dbping.main(dbping.java:156)
I had made sure that the location of "libweblogicoci36.so" is mentioned in LD_LIBRARY_PATH and CLASSPATH.
Kindly help me out.
Thanks,
Ramesh Jetty.
Jim Baiter
Ranch Hand

Joined: Jan 05, 2001
Posts: 532
You need to set your LD_LIBRARY_PATH to include the lib directory from your weblogic home.
 
 
subject: Installation of JDriver (weblogic 5.1) for Oracle on Solaris
 
Similar Threads
jdbc in Unix
JDBC connection troubles
UTF8 conversion
input error
Oracle OCI Driver