tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Pamecha" <abhishek_pame...@infy.com>
Subject RE: java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path"
Date Mon, 04 Mar 2002 09:42:15 GMT
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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message