This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installation of JDriver (weblogic 5.1) for Oracle on Solaris