ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <>
Subject [jira] [Commented] (ACE-401) ACE configurator throws exception when consuming logging property file
Date Thu, 25 Jul 2013 08:25:49 GMT


Marcel Offermans commented on ACE-401:

The configurator has a built-in mechanism that allows it to substitute parameters. They use
a syntax like: ${parametername} and it seems the parser that handles this syntax gets confused
by the "}" characters (in the substVars method). At the moment I don't see a way to somehow
"escape" these characters to indicate you want to have them literally added to the configuration
file, so I don't see an easy workaround for now.

We should add a test case for this though, and come up with a solution.
> ACE configurator throws exception when consuming logging property file
> ----------------------------------------------------------------------
>                 Key: ACE-401
>                 URL:
>             Project: ACE
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Wilfried Sibla
> Exception in thread "Apache ACE Configurator" java.lang.IllegalArgumentException: stop
delimiter with no start delimiter: %d{ISO8601} | %-5.5p | %C | %X{} | %m%n
> 	at org.apache.ace.configurator.Configurator.substVars(
> 	at org.apache.ace.configurator.Configurator.substVars(
> 	at org.apache.ace.configurator.Configurator.processConfigFile(
> 	at org.apache.ace.configurator.Configurator.doConfigs(
> 	at
> 	at
> This line from the cfg file causes the exception:
> log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %C | %X{}
| %m%n

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message