Thanks for the info Chris!

Dream * Excel * Explore * Inspire
Jon McAlexander
Infrastructure Engineer
Asst Vice President

Middleware Product Engineering
Enterprise CIO | EAS | 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: Christopher Schultz <ch...@christopherschultz.net>
> Sent: Wednesday, November 17, 2021 9:41 AM
> To: users@tomcat.apache.org
> Subject: Re: How to *properly* create and use a CATALINA_BASE installation
> 
> Jon,
> 
> On 11/16/21 12:55, jonmcalexan...@wellsfargo.com.INVALID wrote:
> > I meant the other configuration files. I guess I haven't dug deep enough,
> but DOES Tomcat handle the catalina.properties, catalina.policy,
> logging.properties, etc. files hierarchically similar to how Microsoft handles
> web.config files? CATALINA_HOME being the parent and Instances
> automatically inheriting from the Parent unless overridden at the instance
> level in its conf folder?
> >
> > Basically can I publish a parent catalina.policy file and NOT include one in
> the instance?
> 
> My presentation says you need your own if you want to use the security
> manager. Looking at catalina.sh, it always uses CATALINA_BASE for that
> purpose, but it could be detected at runtime. Patches are welcome.
> 
> When using the Windows Service runner, the path to the catalina.policy file is
> captured in the Windows Registry, so you can't detect it on the fly. That path
> must be passed-into the launching JVM, so by the time Tomcat gets chance
> to observe the situation, it's too late to make any changes.
> 
> So if you were to change this in catalina.sh|bat, you'd want to make a similar
> change to service.bat to auto-detect the (current) situation and store the
> appropriate path in the registry, understanding that any change to the file-
> layout would require a refresh of that stored-info.
> 
> -chris
> 
> >> -----Original Message-----
> >> From: Christopher Schultz <ch...@christopherschultz.net>
> >> Sent: Tuesday, November 16, 2021 11:39 AM
> >> To: users@tomcat.apache.org
> >> Subject: Re: How to *properly* create and use a CATALINA_BASE
> >> installation
> >>
> >> Jon,
> >>
> >> On 11/16/21 08:55, jonmcalexan...@wellsfargo.com.INVALID wrote:
> >>> I too would like to know more of what Chris is sa­ying in regards to
> >>> the conf
> >> folder.
> >>
> >> You mean conf/[engine]/[host]/[webapp].xml? This is just "standard"
> >> deployment descriptor stuff:
> >> https://urldefense.com/v3/__http://tomcat.apache.org/tomcat-8.5-
> >> doc/config/context.html*Naming__;Iw!!F9svGWnIaVPGSwU!-
> >> J4ClOAv1FBlpqrYFufoMLwNKP7MYp1SNF2n56QIN2gbaVLDGedI1-
> >> _HG16mI1aNMIUDsoU$
> >>
> >> -chris
> >>
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> Sent with BlackBerry Work
> >>>
> >>
> (https://urldefense.com/v3/__http://www.blackberry.com__;!!F9svGWnIa
> >> VP
> >>> GSwU!-
> J4ClOAv1FBlpqrYFufoMLwNKP7MYp1SNF2n56QIN2gbaVLDGedI1-
> >> _HG16mI1aNO
> >>> XCqE2Q$ ) ________________________________
> >>> From: Michael B Allen <iop...@gmail.com>
> >>> Sent: Nov 15, 2021 4:24 PM
> >>> To: Tomcat Users List <users@tomcat.apache.org>
> >>> Subject: Re: How to *properly* create and use a CATALINA_BASE
> >>> installation
> >>>
> >>> On Mon, Nov 15, 2021 at 4:31 PM Christopher Schultz
> >>> <ch...@christopherschultz.net> wrote:
> >>>>> conf
> >>>>> All of the conf files.
> >>>>
> >>>> Specifically, you'll want server.xml and web.xml. You can also
> >>>> choose to customize context.xml, and put any
> >>>> [engine]/[host]/[webapp].xml deployment descriptors there.
> >>>
> >>> Hi chros,
> >>>
> >>> Ok, so then the minimum required is server.xml and web.xml?
> >>>
> >>> And then there are optional files like context.xml? Are all of the
> >>> other files also optional and completely overwrite settings like
> >>> tomcat-users.xml or only some?
> >>>
> >>> I have confirmed that adding only web.xml alone resolves the issue
> >>> completely. I no longer get 404's and the application works. But I
> >>> would like to further understand this as much as possible to
> >>> document it for my customers.
> >>>
> >>> Thanks,
> >>> Mike
> >>>
> >>> --
> >>> Michael B Allen
> >>> Java Active Directory Integration
> >>>
> >>
> https://urldefense.com/v3/__http://www.ioplex.com/__;!!F9svGWnIaVPG
> >> SwU
> >>> !7AZZQCO9WJpNEOtenm9YTmcUeIkzx380FbL8mx5PyVGCQ-
> >> EBXRwRiA3AwP2ZQheJHlz-1
> >>> L4$
> >>>
> >>> --------------------------------------------------------------------
> >>> - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >>> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


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

Reply via email to