Title: RE: JServ + Remote Oracle Connection

You may want to try the Oracle Thin Driver - it's much easier
in my opinion. No need to set any Oracle env variables. Just
add the <oracle>.zip file to your wrapper.classpath in jserv.properties
, or if you're running jserv in MANUAL mode, set it to your
CLASSPATH in your jserv startup script. Your code will have
to change to suit the thin driver method now.

-----Original Message-----
From: David Molloy
To: JServ List
Sent: 6/16/00 8:22 AM
Subject: JServ + Remote Oracle Connection

----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi,

        I previously got my servlets to connect successfully from
JServ to an Oracle database using OCI drivers.  Previously my
environment variables were set in jserv.properties as:

wrapper.env=LD_LIBRARY_PATH=/oracle_sw/app/oracle/product/8.1.5/lib
wrapper.env=ORACLE_HOME=/oracle_sw/app/oracle/product/8.1.5
wrapper.env=ORACLE_SID=OAK

After my environment variables were set and a few problems ironed
out it was working well.  Now I'm setting up another Sparc (Solaris 7)
with JServ to connect to this machine - what setting changes do I need
to make in JServ1.1.1 on this new machine to connect to a remote
database?  Thanks for any help anyone might have.

David Molloy



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