This content has been marked as final.
Show 1 reply
-
1. Re: tomcat server.xml not supporting custom default prop val
mazz Dec 5, 2006 4:45 PM (in response to mazz)wth? don't know what happened to that post. resubmitting
I did a search on this and couldn't find anything on it.
In jboss-service.xml, you can define values via properties like this:
${my.prop:123}
where the value will be 123 iff my.prop property is not explictly set.
However, this syntax does not seem to work on JBossAS 4.0.5 within the jbossweb-tomcat55.sar's server.xml.
If I use ${my.prop} in server.xml, it works fine. But if I define a default value like ${my.prop:123}, it doesn't work - the value becomes literally ${my.prop}.
Wondering if its just me or if its a known issue.