The moose likes BEA/Weblogic and the fly likes Problem setting Oracle connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Problem setting Oracle connection" Watch "Problem setting Oracle connection" New topic

Problem setting Oracle connection

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
Thanks for any help anyone can give me.
When I run the command
C:\>java utils.dbping ORACLE SCOTT TIGER ORXML
Starting Loading jDriver/Oracle .....

I get the following Error:
Error encountered:
java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.Unsatis
fiedLinkError: no weblogicoci37 in java.library.path
at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:141)
at utils.dbping.main(dbping.java:167)

I think both my CLASSPATH and PATH is set correctly.
C:\oracle\ora90\bin;C:\oracle\ora90\Apache\Perl\5.00503\bin\mswin32-x86;C:\Program Files\Oracle\jre\1.1.8\bin;C:\oracle\ora90\jdbc\lib\classes111.zip;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\WINDOWS\COMMAND;
Cheers TE
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
Problem fixed with a very red face, my path was wrong instead of
I had
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem setting Oracle connection
Similar Threads
connecting weblogic 6.1 and oracle thru thin driver
Problem connecting to an Oracle database
Asking for ocijdbc8 in Path I have ocijdbc9
Weblogic Oracle JDBC Problem
Hope Mr Parthasarathy madhira or other friend help me to solve this problem