You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Abhishek Pamecha <ab...@infy.com> on 2002/03/04 22:12:21 UTC

RE: java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared librarypath"

my requirement restricts me to use only oci driver .. :(

-----Original Message-----
From: Fabio Sato [mailto:sato@simepar.br]
Sent: Tuesday, March 05, 2002 2:35 AM
To: Tomcat Users List
Subject: RE: java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared
librarypath"


Why donĀ“t you try the Oracle Thin JDBC Driver?

Fabio Sato - sato@simepar.br

On Tue, 5 Mar 2002, Abhishek Pamecha wrote:

> nope i am using tomcat from my user area ..
> both tomcat and apache run from my user area....
> there is some problem with a particular .so file which it is not able to find....
> 
> 
> -----Original Message-----
> From: brian ally [mailto:b.ally@sympatico.ca]
> Sent: Monday, March 04, 2002 11:04 PM
> To: Tomcat Users List
> Subject: Re: java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared
> library path"
> 
> 
> Are you starting tomcat as root? On my linux box, if i su to root, all 
> manner of LD_LIBRARY_PATH problems begin. i need to su - (with the 
> dash). Could this be your problem?
> 
> /b
> 
> Abhishek Pamecha wrote:
> 
> >it is there......
> >
> >-----Original Message-----
> >From: Toru Watanabe [mailto:t-watanabe@du.jp.nec.com]
> >Sent: Monday, March 04, 2002 2:34 PM
> >To: Tomcat Users List
> >Subject: Re: java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared
> >library path"
> >
> >
> >
> >First, please make sure that Oracle client is installed
> >in your machine.
> >
> >Abhishek> Thanks buddy!
> >Abhishek> but ..i already did that
> >Abhishek> but i have a a requirement which says i have to use oci client only....
> >Abhishek> any other solution ???
> >
> >UnsatisfiedLinkError means JVM can't find shared library.
> >You need to add shared library path to environment variable.
> >
> >If you use solaris or linux, then you should add following 
> >statement in your tomcat.sh.
> >
> >LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
> >export LD_LIBRARY_PATH
> >
> >if you use HP-UX, then
> >
> >SHLIB_PATH=$ORACLE_HOME/lib:$SHLIB_PATH
> >export SHLIB_PATH
> >
> >if you use Windows, then you should add following to tomcat.bat.
> >
> >set PATH=%ORACLE_HOME%\lib;%PATH%
> >
> >
> >then it will be able to find shared library. 
> >
> >regards,
> >Watanabe.
> >
> >--
> >To unsubscribe:   <ma...@jakarta.apache.org>
> >For additional commands: <ma...@jakarta.apache.org>
> >Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
> >--
> >To unsubscribe:   <ma...@jakarta.apache.org>
> >For additional commands: <ma...@jakarta.apache.org>
> >Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
> 
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 
> 


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>