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

Ranga S wrote:
> 
> ----------------------------------------------------------------
> 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've installed Apache JServ 1.1.2 on Apache 1.3.12 running on a Linux box.
> It also has Oracle 8.1.6 installed.
> I checked the JDBC connection by running an application. It works fine. But
> when I try to run it as a servlet (from within JServ) I get the following
> exception:
> NoClassDefFound Error (for oracle.jdbc.driver.OracleDriver)
> That servlet uses OCI8 type JDBC.
> 
> I would appreciate it if you could walk me through the steps in configuring
> JServ to make it compatible with JDBC (if at all it needs to be done!)?
> 
> Thanks.

You should read the FAQ...I believe there is something on this.
Certainly, though, the concept of servlet loading comes into play here
and there is a lot on servlet class loading on the FAQ and
documentation.

To get to the point: you need to put the ORacle drivers in the class
path of Jserv by adding the path to the jserv.properties files. the
directive is 'wrapper.classpath=<path to directory containing Oracle
drivers>'.

Ben Ricker
Senior Web Administrator
US-Rx, Inc.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to