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 | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com


This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.


-----Original Message-----
From: Barry Kimelman <crhistopher.p...@gmail.com> 
Sent: Monday, July 13, 2020 5:32 PM
To: Tomcat Users List <users@tomcat.apache.org>
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 <calder....@gmail.com> wrote:

> On Mon, Jul 13, 2020, 15:22 Barry Kimelman 
> <crhistopher.p...@gmail.com>
> 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 Maven?
>
>
> It's also important to note that "things" run differently on Linux vs 
> Windows.
>


-- 

==================

Barry Kimelman
Winnipeg, Manitoba, Canada

Reply via email to