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

At 09:45  3/09/99 +0800, you wrote:
>-----------------------------
>Please read the FAQ!
><http://java.apache.org/faq/>
>-----------------------------
>
>Hi, all,
>
>When I try here to connect to Oracle 8.0.4 server on Solaris, it fails.
>My apache server runs on Solaris 2.5.1 too. When I use standalone java 
>application to connect the DB at the same environment as `apachectl 
>start`, 
>everything's fine.

Is Oracle 8.0.4 certified on Solaris 2.5.1 for a start, Can you get
8.0.5 at least?

>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.

You'll also need to put 

        wrapper.bin.parameters=-Djdbc.drivers=<classname for JDBC driver>

and

        wrapper.classpath=/path/to/driver/jdbc-driver.jar

That is, emulate the Java classpath environment within the jserv.properties
file.

Last, is the file readable by the user nobody? that is, is the directory
structure readable/executable by world?

try the FAQ, with such items as

        http://java.apache.org/faq/?file=71


Have fun ...



----
You are the simulacrum of my dreams
 and the signifier of my desires

Mr Grumpy ... come and visit his home!
        http://www.cyber4.org/members/grumpy/index.html


--
--------------------------------------------------------------
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