Discussion:
[jboss-user] [IronJacamar] - ${myapp.db.maxPoolSize} value in *-ds.xml file always read as 0 in JBOSS 6.1
Karthick Narayanan
2013-05-10 20:07:07 UTC
Permalink
Karthick Narayanan [https://community.jboss.org/people/knarayanan123] created the discussion

"${myapp.db.maxPoolSize} value in *-ds.xml file always read as 0 in JBOSS 6.1"

To view the discussion, visit: https://community.jboss.org/message/817208#817208

--------------------------------------------------------------
I use JBOSS 6.1 final. I am trying to set the max pool size value in *-ds.xml file. Currently the following approach fails as JBOSS always reads the max pool size as 0,

- I would like to use <max-pool-size>${myapp.db.maxPoolSize}</max-pool-size> in myapp.ear/my-ds.xml 
- It always ends up with maxPoolSize = 0

The following approach succeeds though,

- If I use <max-pool-size>5</max-pool-size> in myapp.ear/my-ds.xml 
- It ends up with maxPoolSize = 5

Any idea on why it doesn't read ${myapp.db.maxPoolSize} and always gets 0? and how I can fix it? I tried few suggestions mentioned in few discussion forums, but no success.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/817208#817208]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]
Loading...