Karthick Narayanan
2013-05-10 19:07:10 UTC
Karthick Narayanan [https://community.jboss.org/people/knarayanan123] created the discussion
"Re: The replacement of system properties in *-ds.xml is done only for elements of string value type"
To view the discussion, visit: https://community.jboss.org/message/817200#817200
--------------------------------------------------------------
I use JBOSS 6.1.0.Final . I am having the same issue,
. would like to use <max-pool-size>${myapp.db.maxPoolSize}</max-pool-size> in myapp.ear/my-ds.xml
. ends up with maxPoolSize == 0

It works(maxPoolSize =5) when I give <max-pool-size>5</max-pool-size> in myapp.ear/my-ds.xml. I tried the suggestions that were mentioned in this forum, I don't find any success with adding to jboss-service.xml and dependency-deployers-jboss-beans.xml
Any idea on why this is not working? We have many ear files, so we like to change in a common place.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/817200#817200]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]
"Re: The replacement of system properties in *-ds.xml is done only for elements of string value type"
To view the discussion, visit: https://community.jboss.org/message/817200#817200
--------------------------------------------------------------
I use JBOSS 6.1.0.Final . I am having the same issue,
. would like to use <max-pool-size>${myapp.db.maxPoolSize}</max-pool-size> in myapp.ear/my-ds.xml
. ends up with maxPoolSize == 0

It works(maxPoolSize =5) when I give <max-pool-size>5</max-pool-size> in myapp.ear/my-ds.xml. I tried the suggestions that were mentioned in this forum, I don't find any success with adding to jboss-service.xml and dependency-deployers-jboss-beans.xml
Any idea on why this is not working? We have many ear files, so we like to change in a common place.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/817200#817200]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]