--

i just had to find the driver path to load. sorry..
import oracle.jdbc.driver.*; 

funny that it worked without it for a while.

> -----Original Message-----
> From: Michael Moores (@synthsoft) [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 26, 1999 10:39 PM
> To: Java Apache Users
> Subject: HELP JDBC Driver in JServ Environment
> 
> 
> I have tested my Oracle JDBC drivers and they work fine;
> redhad 6.0 jserv 1.0, jdk117,jsdk2.0,oracle8.0.5.1
> 
> i placed the same driver manager code inside of a JServ servlet.
> when I added the call to DriverManager.registerDriver(new oracle...),
> the driver class could not be found.  my wrappers include the 
> oracle classes111.zip.
> ==============================
> import java.sql.*;
> import java.io.*;
> import javax.servlet.*;
> import javax.servlet.http.*;
> .
> .
>  DriverManager.registerDriver(new
> oracle.jdbc.driver.OracleDriver()); // Class not found..
> ========================================
> I have these entires in my jserv properties file:
> wrapper.classpath=/usr/local/ApacheJServ-1.0/src/java/ApacheJServ.jar
> wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
> wrapper.classpath=/usr/app/oracle/product/8.0.5/jdbc/lib/classes111.zip
> 
> the servlets are fine but oracle not found.
> The Interesting Thing is that
> i actually had a connection at one point and was selecting out of the
> database and printing it out in HTML..  when i rebooted i never 
> got back again.
> log files look fine except for the failure message in the servlet init()
> method.
> 
> wow i could use some help here.  i have been banging on this one 
> for a while.   


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

Reply via email to