RE: tomcat can't find suitable driver for mysql

2020-07-13 Thread jonmcalexander
Yes, that also works, however it's just as easy to do that in a setenv.sh file in the bin folder. Dream * Excel * Explore * Inspire Jon McAlexander Asst Vice President Middleware Product Engineering Enterprise CIO | Platform Services | Middleware | Infrastructure Solutions 8080 Cobblestone Rd

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 9.0.37] Https / SSL on Windows server 2016 with windows certificate store

2020-07-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Valintin, On 7/11/20 17:52, Valentin wrote: > Hello, > > I try to configure my tomcat 9.0.37 installed on a windows server > 2016 to use a certificate located in *cert:LocalMachine\My* > > I mention that I am an administrator of this machine. This >

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
That is in the build, but not in the operational files. Dream * Excel * Explore * Inspire Jon McAlexander Asst Vice President Middleware Product Engineering Enterprise CIO | Platform Services | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel 51

Re: tomcat can't find suitable driver for mysql

2020-07-13 Thread Barry Kimelman
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 your classpath or in one of the .loaders in the > cata

RE: tomcat can't find suitable driver for mysql

2020-07-13 Thread jonmcalexander
Is this path included in your classpath or in one of the .loaders in the catalina.properties file? /opt/tomcat/latest/lib/mysql-connector-java-5.1.47-bin.jar Dream * Excel * Explore * Inspire Jon McAlexander Asst Vice President Middleware Product Engineering Enterprise CIO | Platform Services |

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

Re: multipart/form-data request with 2 files with the same name - possible bug

2020-07-13 Thread Mark Thomas
On 13/07/2020 18:33, Builder Lynx Demo wrote: > My tomcat is configured to accept multipart/form-data posts.  Here is > the relevant portion in the WEB-INF/web.xml: >     >   505242880 >   505242880 >   5000 >   /home/pics >     > > Assuming both the files are larger than 5000

multipart/form-data request with 2 files with the same name - possible bug

2020-07-13 Thread Builder Lynx Demo
Hi, I'm using Tomcat 8.5.15 on Linux (CentOS 7). Imagine the following scenario: I have a web page with a form with a structure like:      ... The user selects two different files.  However, both files have the same name (they reside in different directories on the users computer).  So the