This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Installation of JDriver (weblogic 5.1) for Oracle on Solaris
 
Similar Threads
UTF8 conversion
input error
JDBC connection troubles
jdbc in Unix
Oracle OCI Driver