Re: tomcat can't find suitable driver for mysql

2020-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 7/13/20 19:27, jonmcalexan...@wellsfargo.com.INVALID wrote: > Yes, that also works, however it's just as easy to do that in a > setenv.sh file in the bin folder. Its actually much better to do it in setenv.sh for a few reasons: 1.

RE: tomcat can't find suitable driver for mysql

2020-07-13 Thread jonmcalexander
PM To: Tomcat Users List Subject: Re: tomcat can't find suitable driver for mysql I have found a solution. I modified /etc/environment to include a definition of CLASSPATH, rebooted, and now it seems to be working just fine. On Mon, Jul 13, 2020 at 4:24 PM calder wrote: > On Mon, Jul

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
I have found a solution. I modified /etc/environment to include a definition of CLASSPATH, rebooted, and now it seems to be working just fine. On Mon, Jul 13, 2020 at 4:24 PM calder wrote: > On Mon, Jul 13, 2020, 15:22 Barry Kimelman > wrote: > > > my system is ubuntu 20.04 > > I am running

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Christopher Schultz
1 > However after I compile and install the application, when I try to > run it my application traps the following error How do you launch Tomcat and/or your application? > java.sql.SQLException: No suitable driver found for > jdbc:mysql://localhost/qwlc?autoReconnect=true=false > >

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread calder
On Mon, Jul 13, 2020, 15:22 Barry Kimelman wrote: > my system is ubuntu 20.04 > I am running tomcat 9.0.37 > I can run java based mysql programs from the terminal command line with no > problems > In my build.xml I have the following lines > So, you're attempting run in Eclipse? Or using

RE: tomcat can't find suitable driver for mysql

2020-07-13 Thread jonmcalexander
: tomcat can't find suitable driver for mysql But what about the lines 191 192 193 in the build.xml file ? Aren't those supposed to expose all the JAR files under the tomcat lib directory to all apps ? On Mon, Jul 13, 2020 at 3:49 PM wrote: > Is this path included in y

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
ooperation. > > > -Original Message- > From: Barry Kimelman > Sent: Monday, July 13, 2020 3:22 PM > To: Tomcat Users List > Subject: tomcat can't find suitable driver for mysql > > my system is ubuntu 20.04 > I am running tomcat 9.0.37 > I can run java based my

RE: tomcat can't find suitable driver for mysql

2020-07-13 Thread jonmcalexander
- From: Barry Kimelman Sent: Monday, July 13, 2020 3:22 PM To: Tomcat Users List Subject: tomcat can't find suitable driver for mysql my system is ubuntu 20.04 I am running tomcat 9.0.37 I can run java based mysql programs from the terminal command line with no problems I have installed

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
gt; 191 >> 192 >> 193 >> >> However after I compile and install the application, when I try to run it >> my application traps the following error >> >> java.sql.SQLException: No suitable driver found for >&g

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
> However after I compile and install the application, when I try to run it > my application traps the following error > > java.sql.SQLException: No suitable driver found for > jdbc:mysql://localhost/qwlc?autoReconnect=true=false > > What am I missing ? Why can't my tomcat

tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
error java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost/qwlc?autoReconnect=true=false What am I missing ? Why can't my tomcat app find the mysql class ? == Barry Kimelman Winnipeg, Manitoba, Canada

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2012-02-08 Thread Florian Desbois
!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2012-02-08 Thread Anshul katta
resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:264) at com.mchange.v2.c3p0

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2012-02-08 Thread Florian Desbois
this message in context: http://tomcat.10.n6.nabble.com/java-sql-SQLException-No-suitable-driver-found-for-in-tomcat-6-0-35-is-the-class-loading-changed-tp2111551p4376572.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2011-12-25 Thread Konstantin Kolinko
/client/WEB-INF/lib/. This worked fairly well in tomcat 6.0.2x and even in 6.0.33.  In 6.0.35 I encountered the error java.sql.SQLException: No suitable driver found for during the booting time which looks like mysql-connector not in classpath.  Considering it's working all right before, my

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2011-12-22 Thread Christopher Schultz
java.sql.SQLException: No suitable driver found for during the booting time which looks like mysql-connector not in classpath. CATALINA_HOME/lib will be in the CLASSPATH for Tomcat's ClassLoader, which will be used after your webapp's ClassLoader, depending on exactly when the driver tries to load

java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2011-12-16 Thread Frank Zhang
in tomcat 6.0.2x and even in 6.0.33. In 6.0.35 I encountered the error java.sql.SQLException: No suitable driver found for during the booting time which looks like mysql-connector not in classpath. Considering it's working all right before, my suspect is 6.0.35 silently changed its class loading way

JSP: No suitable driver found

2009-04-13 Thread John Cartwright
getting the exception: javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: java.sql.SQLException: No suitable driver found for ${myDS} I've confirmed that the host, user, password are correct. Of course it looks like a classpath problem

RE: JSP: No suitable driver found

2009-04-13 Thread Martin Gainty
. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 13 Apr 2009 16:24:31 -0600 From: john.c.cartwri...@noaa.gov Subject: JSP: No suitable driver found To: users@tomcat.apache.org

Re: JSP: No suitable driver found

2009-04-13 Thread John Cartwright
...@noaa.gov Subject: JSP: No suitable driver found To: users@tomcat.apache.org Hello All, I have what should be a simple problem, but can't seem to resolve it. Basic JSP using a non-pooled connection: sql:setDataSource var=myDS url=jdbc:oracle:thin:@host.example.com:1521:ORACLE driver

RE: JSP: No suitable driver found

2009-04-13 Thread Martin Gainty
. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 13 Apr 2009 16:54:27 -0600 From: john.c.cartwri...@noaa.gov Subject: Re: JSP: No suitable driver found To: users@tomcat.apache.org

Re: JSP: No suitable driver found

2009-04-13 Thread Christopher Schultz
driver=oracle.jdbc.driver.OracleDriver user=username password=password / I'm getting the exception: javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: java.sql.SQLException: No suitable driver found for ${myDS} Hmm... does

Re: JSP: No suitable driver found

2009-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 4/13/2009 10:02 PM, Christopher Schultz wrote: Is sql:setDataSource part of the JSTL? Duh. Yes. Sorry 'bout that. When you execute your query, how do you do it? Can you post your sql:query (or whatever) that you use? - -chris -BEGIN

RE: No suitable driver found

2009-04-13 Thread Caldarale, Charles R
From: John Cartwright [mailto:john.c.cartwri...@noaa.gov] Subject: JSP: No suitable driver found DataSource invalid: java.sql.SQLException: No suitable driver found for ${myDS} The presence of the ${} in the message is certainly rather odd. This is not likely to be related, but you might

No Suitable Driver

2006-05-16 Thread Jay Wallhaus
I keep getting the following error: javax.servlet.ServletException: Unable to get connection, DataSource invalid: java.sql.SQLException: No suitable driver org.apache.jasper.runtime.PageContextImpl.doHandlePageException( PageContextImpl.java :825

RE: No Suitable Driver

2006-05-16 Thread Tim Lucia
, May 16, 2006 2:49 PM To: users@tomcat.apache.org Subject: No Suitable Driver I keep getting the following error: javax.servlet.ServletException: Unable to get connection, DataSource invalid: java.sql.SQLException: No suitable driver