jingyi_wang [
http://community.jboss.org/people/jingyi_wang] created the discussion
"Use property substitution in data source configuration in JBoss AS 6.1.0"
To view the discussion, visit:
http://community.jboss.org/message/624278#624278
--------------------------------------------------------------
We have a data source configuration file that uses ${propertyName:defaultValue} syntax,
like this:
<min-pool-size>${my.minPoolSize:1}</min-pool-size>
<max-pool-size>${my.maxPoolSize:20}</max-pool-size>
<idle-timeout-minutes>${my.idleTimeout:15}</idle-timeout-minutes>
<security-domain>${my.domain:EncryptPassword}</security-domain>
This has been working in JBoss 4.2.x. Now we are migrating to 6.1.0, and this feature
seems not working. All the number fields are shown to have the value of 0, and the string
field shows the literal value of "${my.domain:EncryptPassword}".
It's important that we keep these properties configurable. How can I achieve this
now?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/624278#624278]
Start a new discussion in Datasource Configuration at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]