Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installation of JDriver (weblogic 5.1) for Oracle on Solaris

 
Ramesh Jetty
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to set your LD_LIBRARY_PATH to include the lib directory from your weblogic home.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic