The moose likes Servlets and the fly likes MySQL JDBC Driver with Apache JServ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "MySQL JDBC Driver with Apache JServ" Watch "MySQL JDBC Driver with Apache JServ" New topic

MySQL JDBC Driver with Apache JServ


Joined: May 13, 2001
Posts: 2
I'm using Apache JServ 1.1.2 on my Win NT machine.
For the MySQL JDBC driver I use mm.mysql.jdbc-2.0pre5.
My question is how to configure the driver with the Apache Jserv ?
I try to use the driver on my servlet and it returns an error like this :
java.lang.ClassNotFoundException: at at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClassInternal( at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at JDBC.test.query( at JDBC.test.doGet( at javax.servlet.http.HttpServlet.service( at javax.servlet.http.HttpServlet.service( at org.apache.jserv.JServConnection.processRequest( at at
I've set the CLASSPATH into the directory of the mm.mysql.jdbc. (according to the documentation), but it doesn't work.
Thanks in advance.
** Science is belong to the world **

** Science is belong to the world **
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Sophia Oscario

Joined: May 14, 2001
Posts: 22
hehehe sorry Mr Sheriff ....
I post that message with username CyberOsc accidentally.
I always use that username on others forum, so you know ...
sorry again ...
** Science belongs to the world **

** Science belongs to the world **
I agree. Here's the link:
subject: MySQL JDBC Driver with Apache JServ
It's not a secret anymore!