You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Small, Wayne H" <wa...@lmco.com> on 2017/03/21 18:55:37 UTC
TomCat 8.0.36 on Linux 2.6.32-642.15.1.el6.x86_64 #1 SMP
TomCat 8.0.36 on Linux 2.6.32-642.15.1.el6.x86_64 #1
All,
Within our TomCat installation we have an xml file ( call it someFile.xml ) that contains database connection information. And, within that file are two fields that need to be encrypted. I have downloaded the TC 8.0.36 source code and determined that BasicDataSourceFactory.java is the java source code I must modify. My question is: How does the BasicDataSourceFactory.java source code know what xml file to read to get the various parms for the database connection to be made? This must be defined somewhere and I have yet to locate that.
Please advise.
Wayne Small
Software Engineer Sr.
Lockheed Martin
RE: EXTERNAL: Re: TomCat 8.0.36 on Linux 2.6.32-642.15.1.el6.x86_64
#1 SMP
Posted by "Small, Wayne H" <wa...@lmco.com>.
Thank you Mark. This will help and the article is correct, we are doing this to satisfy auditors.
Wayne Small
813-854-7305 - office
727-455-0192 - mobile
Vacation
03/29/2017-04/03/2017
05/12/2017-05/14/2017
-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org]
Sent: Tuesday, March 21, 2017 3:21 PM
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: EXTERNAL: Re: TomCat 8.0.36 on Linux 2.6.32-642.15.1.el6.x86_64 #1 SMP
On 21/03/17 18:55, Small, Wayne H wrote:
> TomCat 8.0.36 on Linux 2.6.32-642.15.1.el6.x86_64 #1
>
> All, Within our TomCat installation we have an xml file ( call it
> someFile.xml ) that contains database connection information. And,
> within that file are two fields that need to be encrypted. I have
> downloaded the TC 8.0.36 source code and determined that
> BasicDataSourceFactory.java is the java source code I must modify.
> My question is: How does the BasicDataSourceFactory.java source code
> know what xml file to read to get the various parms for the database
> connection to be made? This must be defined somewhere and I have yet
> to locate that.
>
> Please advise.
https://wiki.apache.org/tomcat/FAQ/Password
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: TomCat 8.0.36 on Linux 2.6.32-642.15.1.el6.x86_64 #1 SMP
Posted by Mark Thomas <ma...@apache.org>.
On 21/03/17 18:55, Small, Wayne H wrote:
> TomCat 8.0.36 on Linux 2.6.32-642.15.1.el6.x86_64 #1
>
> All, Within our TomCat installation we have an xml file ( call it
> someFile.xml ) that contains database connection information. And,
> within that file are two fields that need to be encrypted. I have
> downloaded the TC 8.0.36 source code and determined that
> BasicDataSourceFactory.java is the java source code I must modify.
> My question is: How does the BasicDataSourceFactory.java source code
> know what xml file to read to get the various parms for the database
> connection to be made? This must be defined somewhere and I have yet
> to locate that.
>
> Please advise.
https://wiki.apache.org/tomcat/FAQ/Password
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org