[jboss-user] [Datasource Configuration] - Use property substitution in data source configuration in JBoss AS 6.1.0

jingyi_wang do-not-reply at jboss.com
Thu Sep 1 11:07:23 EDT 2011


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&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110901/f3d285c9/attachment.html 


More information about the jboss-user mailing list