Good evening,

I am trying to find decent examples for Proerty Replacements in 
Catalina.properties. I have an instance that is giving me the following Warning 
and it bugs me:

Dec 05, 2023 5:48:51 PM org.apache.tomcat.util.digester.Digester 
replaceSystemProperties
WARNING: System property [common.loader] failed to update and remains 
["${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}/lib","${catalina.home}/lib/*.jar"]


I've looked at the docs, and all I'm really finding is the following:

Property replacements
Property
Description
org.apache.tomcat.util.digester. PROPERTY_SOURCE

Set this to a comma separated list of fully qualified name of classes that 
implement org.apache.tomcat.util.IntrospectionUtils.PropertySource. Required to 
have a public constructor with no arguments.

Use this to add a property source, that will be invoked when 
${parameter:-default-value} denoted parameters (with optional default values) 
are found in the XML files that Tomcat parses.

Property replacement from the specified property source on the JVM system 
properties can also be done using the REPLACE_SYSTEM_PROPERTIES system property.

org.apache.tomcat.util.digester.ServiceBindingPropertySource can be used to 
replace parameters from any Kubernetes service bindings that follows the 
servicebinding.io<https://servicebinding.io/> spec

org.apache.tomcat.util.digester.EnvironmentPropertySource can be used to 
replace parameters from the process' environment variables, e.g. injected 
ConfigMaps or Secret objects in container based systems like OpenShift or 
Kubernetes.

org.apache.tomcat.util.digester.SystemPropertySource does replacement with 
system properties. It is always enabled, but can also be specified as part of 
the property value.
org.apache.tomcat.util.digester. REPLACE_SYSTEM_PROPERTIES

Set this boolean system property to true to cause property replacement from the 
digester property source on the JVM system properties.

Any good examples of how to use it properly would be great.

Thank you for your time.

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

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<mailto: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.

Reply via email to