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. /etc/env

RE: tomcat can't find suitable driver for mysql

2020-07-13 Thread jonmcalexander
5:32 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: > O

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 t

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Barry, On 7/13/20 16:21, 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 Tomcat establishes its own CLASSPATH and applications host

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 Ma

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 inc

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
our cooperation. > > > -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 jav

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 inst

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
I should also mention this is the same JAVA code I had running under Tomcat 9.0.14 running under Windows 10 where it ran with no problems. On Mon, Jul 13, 2020 at 3:30 PM Barry Kimelman wrote: > An update : > > I have now installed the same JAR file under tomcat that I used from the > command li

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
An update : I have now installed the same JAR file under tomcat that I used from the command line -rwxr-xr-x 1 root root 1007502 Jul 13 15:25 /opt/tomcat/latest/lib/mysql-connector-java-5.1.47.jar However the same error still occurs. On Mon, Jul 13, 2020 at 3:21 PM Barry Kimelman wrote: > my s

tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
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 tomcat under /opt/tomcat/latest under /opt/tomcat/latest/lib I have installed the jar file for mysql -rw-r--r-- 1 root root 1007505 Jul 13 10:5