List:General Discussion« Previous MessageNext Message »
From:Ajit Kolhatkar Date:September 29 2000 5:11am
Subject:Re: mm.mysql.jdbc Driver
View as plain text  
add JAR file in classpath in properties file.


>From: Mohammad Nadeem <nadeem@stripped>
>To: mysql@stripped
>Subject: mm.mysql.jdbc Driver
>Date: Thu, 28 Sep 2000 14:54:38 +0000
>
>Dear Sirs
>
>I am trying to use mm.mysql.jdbc Driver with MySql database and
>Jserv1.1.2 on Win98
>I am getting the following error :
>
>"java.sql.SQLException: General Error: Connection refused: no further
>information at org.gjt.mm.mysql.Connection.(Connection.java) at
>org.gjt.mm.mysql.Driver.connect(Driver.java) at
>java.sql.DriverManager.getConnection(DriverManager.java:457) at
>java.sql.DriverManager.getConnection(DriverManager.java:159) at
>Test.doPost(Test.java, Compiled Code) at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:521) at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at
>org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
>
>at org.apache.jserv.JServConnection.run(JServConnection.java:188) at
>java.lang.Thread.run(Thread.java:479) "
>
>I have kept the org folder in servlets directory and set the path and
>classpath for org folder and bin directory of mysql  in autoexec.bat
>Classpaths are as follows:
>
>path=c:\jdk1.2.2\bin;c:\jdk1.2.2\lib\tools.jar;c:\jsdk2.0\src;
>set classpath=c:\jdk1.2.2\bin;c:\jdk1.2.2\lib\tools.jar;c:\jsdk2.0\src;
>path=%path%;c:\mysql\bin;
>set classpath=%classpath%;c:\mysql\bin;
>path=%path%;c:\Program Files\ApacheJServ1.1.2\servlets\org\;
>set classpath=%classpath%;c:\Program
>Files\ApacheJServ1.1.2\servlets\org\;
>
>There is one mysql.jar file with the mm.mysql.jdbc driver. Nowhere its
>mentioned that where to place this jar file.
>I feel I am getting error because the jar file is not at the right
>place.
>
>Can any one help me in sorting this problem.
>
>Thanks.
>M.Nadeem
>nadeem@stripped
>md.nadeem@stripped
>
>
>
>
>--
>---------------------------------------------------------------------
>Please check "http://www.mysql.com/documentation/manual.php" before
>posting. To request this thread, e-mail mysql-thread51866@stripped
>
>To unsubscribe, send a message to:
>     <mysql-unsubscribe-ajit_kolhatkar=hotmail.com@stripped>
>
>If you have a broken mail client that cannot send a message to
>the above address (Microsoft Outlook), you can use:
>     http://lists.mysql.com/php/unsubscribe.php
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

Thread
mm.mysql.jdbc DriverMohammad Nadeem28 Sep
Re: mm.mysql.jdbc DriverAjit Kolhatkar29 Sep