-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Are you positive that the classes for your JDBC driver are located in
the class path where they can be loaded?  I would put some debugging
information into those areas of your code just to make sure.  I had no
trouble getting JServ to load the appropriate JDBC drivers for our
database.

Jonathan Tew

Gangmeng Ji wrote:
> 
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
> 
> Hi,
> 
> I am exploring JServ on RedHat5.2 on a Pentium PC. I can get servletrunner
> to serve a JDBC servlet, which does a simple query to a database on
> PostgreSQL.
> 
> But, when I tried to use Apache Jserv, I get the following error
> 
> "Error connecting to database. java.sql.SQLException: No suitable driver
> Connected"
> 
> I tried to modify jserv.properties, but it didn't help.
> 
> By the way, normal servlets are ok. Guess it proves that JServ is installed
> correctly.
> 
> Any hints or help will be appreciated.
> 
> Gangmeng
> 
> --
> --------------------------------------------------------------
> 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]


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