-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------


Hi,
On Fri, 3 Sep 1999 [EMAIL PROTECTED] wrote:
| I check the log file for my servlet. it said that jdbc shared library 
| for ocijdbc driver is not found. In fact, it's setup to 
| LD_LIBRARY_PATH=$ORACLE_HOME/jdbc/lib
In my setup, its sufficient to have the LD_LIBRARY_PATH defined in the
apache environment, that is, in apachectl:
  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Oracle/lib

In jserv.properties, you need to set the classpath that contains the
jdbc-driver:
   wrapper.classpath=/path/to/oracle/jdbc/driver.jar
_AND_ the location of ORACLE_HOME as environment:
   wrapper.env=ORACLE_HOME=/my/oracle/home
Seems, that the Oracle driver needs this to lookup its message files etc.

hope this helps,
  -hen
---
Henner Zeller                                 [EMAIL PROTECTED]
 PGP pub key [77F75B39]: finger [EMAIL PROTECTED] 

 If Microsoft is the answer, it must have been a VERY silly question.



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to