Mantis - Resin
Viewing Issue Advanced Details
2361 minor always 01-23-08 11:33 01-23-08 15:09
ferg  
ferg  
normal  
closed 3.1.4  
fixed  
none    
none 3.1.5  
0002361: config evaluation of system property ${foo.bar}
(rep by Curtis Taylor)

We recently upgraded to Resin 3.1.4 from 3.0.23 and had a few issues
with system properties declared in an imported config file. It seems
3.1.4's doesn't see properties declared with "." in the property name
anymore, and the EL expression in resin3.xml doesn't interpret properly:

<system-property http.server.port="8080" /> gets interpreted as 0

and

<system-property dev.database.name="devDB" /> gets interpreted as an
empty string.

My workaround was to rename these properties using no periods (e.g.
"httpServerPort"), but I was curious as to why this particular
behavior change, and if there's a way to use the 3.0.x syntax in 3.1.x.

Also, it'd be nice to see the documentation updated to reflect this
change ;-)


Notes
(0002670)
ferg   
01-23-08 15:09   
ioc/2420