-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
thanks for all the replies to my question. now it works.
After applying all solutions and drop one by one, I
found that "jserv.properties" has to include: (enough and necessary)
wrapper.classpath=...
wrapper.env=LD_LIBRARY_PATH=....
wrapper.env=ORACLE_HOME=...
(ORACLE_HOME is critical.).
That's all for my setup, on condition that your standalone java
application works fine
already in the environment where you start apachectl.
have a nice weekends, /wenbo
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Friday, September 03, 1999 1:58 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: oracle oci8 jdbc on jserv fails to get connection, ...
-----------------------------
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]
--
--------------------------------------------------------------
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]