Now i'm getting this weird error... javax.servlet.ServletException: JZ0D5: Error loading protocol com.sybase.jdbc2.asa60.ASA60.
private String myDriver ="com.sybase.jdbc2.jdbc.SybDriver"; private String myURL ="jdbc:sybase:ASA60:dbrepository"; My database is sybase database on ASA60 server and and dbRepository as database...Suggest me where i'm making a mistake... Thanks Praveen ----- Original Message ----- From: "sufi malak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 24, 2001 9:35 AM Subject: Re: Would like to know.... > Just put mySQL driver in tomcat_dir\lib and restart tomcat, it works for > me. > > > >From: Praveen Potineni <[EMAIL PROTECTED]> > >Reply-To: A mailing list about Java Server Pages specification and > >reference <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: Would like to know.... > >Date: Wed, 24 Oct 2001 08:49:38 -0400 > > > >Hi Alex, > >I have the same problem that paul has. But i'm trying to do that on Windows > >2000. I am getting a javax.servlet.ServletException: > >org.gjt.mm.mysql.Driver > >I am using mm.mysql-2.0.6.1.jar driver and i set the CLASSPATH using > >set CLASSPATH.. Not sure if i'm doing any mistake in setting the classpath. > > > >Can you help me with this... > >Thanks in advance > >Praveen > > > >----- Original Message ----- > >From: "Alex Kachanov" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, October 23, 2001 8:51 PM > >Subject: Re: Would like to know.... > > > > > >You need to place mySQL driver into the CLASSpath > >like this: > > > >CASSPATH=f:\Tomcat\common\lib\servlet.jar;f:\Tomcat\common\lib;.;f:\Tomc > >at\common\lib\postgresql.jar;f:\Tomcat\common\lib;.;f:\Tomcat\common\lib > >\mm.mysql-2.0.4-bin.jar; > > > > > >and in your servlet (or JSP) write the correct name for the driver. > > > > > > > >----- Original Message ----- > >From: "Paul Davies" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, October 23, 2001 7:29 AM > >Subject: Would like to know.... > > > > > > > Hi guys, > > > I was just wondering if anyone has got Tomcat 4.0 > > > working with mySQL successfully on Linux. I am having > > > alot of trouble getting this to work. I keep on > > > getting a "javax.servlet.ServletException: No suitable > > > driver" > > > error and I don't know what else to do. I am trying > > > to use the mm.mysql-2.0.4 driver with little success. > > > > > > Thanks, > > > Paul =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
