Example:
<JDBC_PING2
connection_password="${KC_DB_PASSWORD:secret}"
... />
When system (or env-) variable KC_BD_PASSWORD is set to uUGANEs7!!MX{cjJ_NNENP%${CMj (note the opening curly bracket), then startup fails:
Exception in thread "main" java.lang.IllegalArgumentException: missing "}" in uUGANEs7!!MX{cjJ_NNENP%${CMj
at org.jgroups.util.Util._substituteVar(Util.java:4958)
at org.jgroups.util.Util.substituteVariable(Util.java:4944)
at org.jgroups.util.Util.substituteVariable(Util.java:4926)
at org.jgroups.conf.ProtocolConfiguration.substituteVariables(ProtocolConfiguration.java:114)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.jgroups.JChannel.init(JChannel.java:914)
at org.jgroups.JChannel.<init>(JChannel.java:128)
at org.jgroups.JChannel.<init>(JChannel.java:109)
at org.jgroups.demos.Chat.start(Chat.java:34)
at org.jgroups.demos.Chat.main(Chat.java:97)