• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem setting Oracle connection

 
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
CLASSPATH
.;C:\jdk1.3.1_04\lib\tools.jar;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\bea;C:\bea\wlserver6.1\lib\weblogic.jar;C:\oracle\ora90\jdbc\lib\classes111.zip;C:\projects\jakarta-Tomcat-4.0\bin\bootstrap.jar
PATH
C:\jdk1.3.1_04\jre\bin;.;
C:\WINDOWS\System32;C:\WINDOWS;.;C:\jdk1.3.1_04\bin;C:\j2sdkee1.3.1\bin;C:\jakarta-ant-1.3\bin;C:\bea\wlserver6.0\bin\oci816_8;
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
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Problem fixed with a very red face, my path was wrong instead of
C:\bea\wlserver6.1\bin\oci816_8
I had
C:\bea\wlserver6.0\bin\oci816_8
TE
 
Slideshow boring ... losing consciousness ... just gonna take a quick nap on this tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic