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

on 11/17/99 5:17 PM, JOHN CANT /6183 <[EMAIL PROTECTED]> wrote:

> I am attempting to get a java servlet to access a miniSQL database using the
> msql-jdbc driver from Imaginary environments.

Ack. Dump that piece of junk and get MySQL. www.mysql.com

> - the servlet engine is running ok - I can run example servlets and
> servlets that I have written.

good!
 
> - my configuration files are /example/jserv.conf and
> /example/jserv.properties.
> 
> - /example/jserv.properties has the line:
> "wrapper.classpath=/usr/local/java/msql-jdbc.jar" which is a symbolic link
> to the actual .jar file  containing the msql-jdbc driver.

good!
 
> - I can compile and run a java application that will successfully access
> the database through the msql-jdbc driver.

good!

> However when I call the servlet from a browser I get "Couldn't load database
> driver: com.imaginary.sql.msql.MsqlDriver" - suggesting to me that there is
> a CLASSPATH problem.
> 
> Can anyone shed any light on this - thanks

#1. ls -la /usr/local/java/msql-jdbc.jar (does this really work?)
#2. chmod ugo+rx /usr/local/java/msql-jdbc.jar
#3. chmod ugo+rx /usr/local/java

-jon



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