• 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

Can't find library ocijdbc9 (libocijdbc9.so)

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i'm having the folowing problme

Initialization of bean failed; nested exception is java.lang.UnsatisfiedLinkError: Can't find library ocijdbc9 (libocijdbc9.so) in sun.boot.library.path or java.library.path
sun.boot.library.path=/sbclocal/apps/IBM/WebSphere/AppServer/SF5112/Base/java/bin/../jre/bin
java.library.path=/sbclocal/apps/IBM/WebSphere/AppServer/SF5112/Base/java/bin/../jre/bin:/sbclocal/ apps/IBM/WebSphere/AppServer/SF5112/Base/java/jre/bin/classic:/sbclocal/apps/IBM/WebSphere/ AppServer/SF5112/Base/java/jre/bin:/sbclocal/apps/IBM/WebSphere/AppServer/SF5112/Base/bin:/opt/mqm/ java/lib:/opt/wemps/lib:/usr/lib


i have the libocijdbc9.so in

/xxx/run/tp/oracle/client/v9.2.0.1.0/lib

and have given it on process definition/JVM as well

and also i have ojdbc14.jar and ojdbc14_g.jar at

/xxx/run/tp/oracle/client/v9.2.0.1.0/jdbc/lib

and have given it on process definition/JVM as well


but still i have the above error

pls help
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
libocijdbc9.so is native code, not Java code. Put /xxx/run/tp/oracle/client/v9.2.0.1.0/lib on LIBPATH or LIB_PATH, depending on your operating system.

Bill Lasley
Versant Corp.
http://www.versant.com


By the way, I think the rules of Java Ranch state that you must use a real first and last name.
[ May 17, 2005: Message edited by: Bill Lasley ]
 
S Sand
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Bill for the reply, i do have put the following paths in LD_PATH of wsstart script of WAS which starts the AppServer.

libocijdbc9.so in

/xxx/run/tp/oracle/client/v9.2.0.1.0/lib



and also i have ojdbc14.jar and ojdbc14_g.jar at

/xxx/run/tp/oracle/client/v9.2.0.1.0/jdbc/lib

but still i have the above error
 
reply
    Bookmark Topic Watch Topic
  • New Topic