Gaurav Kishore wrote:
> Hi!,
> I am having this jdbc driver problem, which I am not able to solve. Any
> inputs are highly appreciated.
>
> I am using Apcahe JServ, with JDK1.2, JSDK 2.0 and JDBC thin drivers on
> Linux.
>
> I can connect to the Oracle 7.2.3 (which is on a different server) using
> a Java application, but when I try to connect using a Servlet via JServ
> servlet engine, I get 'driver not found error'.
>
> The 'wrapper.classpath' has the path for jdbc drivers in the
> jserv.properties file, and the environment CLASSPATH also has the path
> for jdbc drivers. But still, I can't get rid of this 'driver not found
> problem'.
>
> Pleeeeese help.
> Thanks in advance
> Gaurav
>
The CLASSPATH environment variable won't make a bit of difference. Your
setting in the jserv.properties file must be either wrong, or there are OS
permission issues that prevent the servlet engine from reading the JDBC
driver's file. If you are starting Apache JServ automatically when Apache
starts (the usual way), it runs under the same username that Apache does
(usually "nobody"). The simplest thing to do is make sure that the
classes111.zip file (or whatever), and all the directories above it, have
world read permissions.
Craig McClanahan
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html