Re: Defining environment variables for a webapp ?
On 4/14/21 5:29 AM, Rony G. Flatscher (Apache) wrote: A JVM AFAIK would not honor changes to the environment after it got started A serious question. Apologies for selective selection from the response. Are there any operating systems where change in environment is automatically reflected in child process? My understanding was, processes always inherit parent environment and have no way of knowing what changed. If you managed to spawn a process with different parent based on your operating system, then you might see new values, but most of the spawn/exec calls (regardless of language of implmentation) inherit the exact same environment variables. Some calls do allow you to setup the environment variables for child process but struggling to figure out where grandparent process informed parent about environment change which can be sent to grandchild. Regards, Niranjan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Question about encrypting database passwords in the context.xml file - Tomcat 9
And when that isn't good enough for your senior management, take a look at the Tomcat Vault in GITHUB. :-) Dream * Excel * Explore * Inspire Jon McAlexander Infrastructure Engineer 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 Upcoming PTO: 10/30/2020, 11/6/2020, 11/13/2020, 11/20/2020, 11/27/2020, 12/2/2020, 12/4/2020, 12/11/2020, 12/18/2020, 12/28/2020, 12/29/2020, 12/30/2020, 12/31/2020 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: xcorpius > Sent: Monday, April 26, 2021 8:36 AM > To: users@tomcat.apache.org > Subject: Re: Question about encrypting database passwords in the > context.xml file - Tomcat 9 > > Thanks Olaf > > Mensaje original > On 26 abr. 2021 14:02, Olaf Kock escribió: > > > On 26.04.21 13:10, xcorpius wrote: > >> Hi, > >> > >> I wanted to ask about how to encrypt database passwords in the > context.xml file in Tomcat 9. > >> > > Hi, > > > > please check this article: > > > https://urldefense.com/v3/__https://cwiki.apache.org/confluence/display/ > TOMCAT/Password__;!!F9svGWnIaVPGSwU!5L0cC3jIaCuRm0q1- > FYoVLDsuldYO4StHmkrZWg_Y0z1bdU7NM3IWFdkUykL7W_YAFGN4bM$ > > > > It covers the topic once and for all... > > > > Olaf > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Question about encrypting database passwords in the context.xml file - Tomcat 9
Thanks Olaf Mensaje original On 26 abr. 2021 14:02, Olaf Kock escribió: > On 26.04.21 13:10, xcorpius wrote: >> Hi, >> >> I wanted to ask about how to encrypt database passwords in the context.xml >> file in Tomcat 9. >> > Hi, > > please check this article: > https://cwiki.apache.org/confluence/display/TOMCAT/Password > > It covers the topic once and for all... > > Olaf > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Question about encrypting database passwords in the context.xml file - Tomcat 9
On 26.04.21 13:10, xcorpius wrote: > Hi, > > I wanted to ask about how to encrypt database passwords in the context.xml > file in Tomcat 9. > Hi, please check this article: https://cwiki.apache.org/confluence/display/TOMCAT/Password It covers the topic once and for all... Olaf - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Question about encrypting database passwords in the context.xml file - Tomcat 9
Hi, I wanted to ask about how to encrypt database passwords in the context.xml file in Tomcat 9. Thank you very much to all. Xcorpius.
Re: Emdbedded Tomcat Issues
On Mon, Apr 26, 2021 at 4:18 AM dana whitelow wrote: > > Embedded Tomcat 9.0.0.M6 > Please use newer version. 9.0.0.M6 is released May 2016. Latest 9.x release is 9.0.45. > > > Issue 1 > //ctx.setAltDDName( > "/home/user/microservices/AccountingApp/src/main/webapp/WEB-INF/web.xml"); > ctx.getServletContext().setAttribute(Globals.ALT_DD_ATTR, > "/home/user/microservices/AccountingApp/src/main/webapp/WEB-INF/web.xml"); > > Neither of the above programmatic settings seems to have any > effect on the message INFO: No global web.xml found > > > INFO: Starting Servlet Engine: Apache Tomcat/9.0.0.M6 > Apr 26, 2021 1:58:59 AM org.apache.catalina.startup.ContextConfig > getDefaultWebXmlFragment > INFO: No global web.xml found > Apr 26, 2021 1:58:59 AM org.omnifaces.ApplicationInitializer > logOmniFacesVersion > INFO: Using OmniFaces version 3.6.1 > Apr 26, 2021 1:58:59 AM org.apache.catalina.core.ApplicationContext log > INFO: Marking servlet Faces Servlet as unavailable > Apr 26, 2021 1:58:59 AM org.apache.catalina.core.StandardContext > loadOnStartup > SEVERE: Servlet [Faces Servlet] in web application [] threw load() > exception > java.util.MissingResourceException: Can't find javax.faces.LogStrings > bundle from > > Issue 2 > > from error message I think tomcat is looking for the file > WebMessages.properties and WebMessages_es.properties from the > faces-config.xml > which I have in the src/main/resources/hacc/web/ and in directory > src/main/resources/META-INF/resources/hacc/web , > but still it is giving me the error > SEVERE: Servlet [Faces Servlet] in web application [] threw load() > exception > java.util.MissingResourceException: Can't find javax.faces.LogStrings > bundle from > > at > java.logging/java.util.logging.Logger.setupResourceInfo(Logger.java:2289) > at java.logging/java.util.logging.Logger.(Logger.java:565) > at > java.logging/java.util.logging.LogManager.demandLogger(LogManager.java:522) > >