-----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/environment is not exactly a standard; it appears that it's
   a PAM feature and not part of any stock *NIX system

2. /etc/environment sets that variable for all users, for all processes
   (if it even does that)

3. /etc/environment would likely not affect any system-launched services
   (e.g. from /etc/init.d / systemd / whatever)

4. Tomcat clears any CLASSPATH environment variable under normal
   circumstances; anyone else looking at your environment may be
   surprised by what you have done

setenv.sh aside, there is always this:

5. Dropping your JDBC driver into Tomcat's lib/ directory is pretty
simple and doesn't require any other specific configuration at all.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl8N83YACgkQHPApP6U8
pFhbyQ//VLHoBzkKj5FT5c/FA5/S9TDJasoj3+nBFsQmePi5Js8p4+APxklG8XPT
5Izhy6Vm4RUu088v3WKc5+zgwSuIsW9P+9xs6n9NIqhqoyRqsQGFDoxjb0FqjH6P
wBjkYq1idYaVqY+DbReYRmRFIi26Is5viTVLtkDw+yTjZhgJ/GjmX2acNu05/btn
2UddYioTIsUwxhzU8mra+sMxX5LEPgpfAhAXSS21uh90xBqT5+GQQO0pfsgOHUd+
ADlQxTeYilqoOgmGQjFfAH1EqAVzc77MMAVFWvfAPp1sUv5xE5SmDdCIuESm0a8S
+GITRzDcxUtFdVpo0ThEzPZVbbCoWIwhuQt9DZgsYNLgxpJMbNPknNYWo+7DkB4t
rl4i3l58gpdYsRl0QBjgyIxeRK/itktLBf51L65eWHtZb1N5YQuKuRzEuzfVxEsW
QonmRGi4O0FWHnQr1Zu0TKdy3bTWBqUpXua5Fg3w0D0tv5hToJ/WeGTOa/2J9Brz
GwuZJW/3hpr34COedQM5bvtfEfov86EKvJotDi9O/veVrx2IgTLPasCllr3cOO2T
Tmx/5IzgzAfjdDyJN4d5bDasqst4mp6fNszKVMuWuiiislSbMRpceoFR3U1zFYmC
C2lez9wGwfd+H2njcDd4xJxbWjawvRzRWPGAzEmsZYB2kQIFuv0=
=GdOs
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to