JBoss Community

Re: The replacement of system properties in *-ds.xml is done only for elements of string value type

created by jaikiran pai in IronJacamar - View the full discussion

Radim Hanus wrote:

 


while trying to apply your fix I encounter following problem:

  • in a separate deploy dir I have myapp.ear and myprops-service.xml where the property myapp.db.maxPoolSize is defined
  • descriptor myapp.ear/my-ds.xml is parsed by JAXB before myprops-service.xml is fully deployed so that myapp.db.maxPoolSize is not a system property when trying to replace it

I don't see a way how to define the dependency to the property service in myapp.ear/my-ds.xml, datasources/local-tx-datasource/depends simply cannot help in that case

http://community.jboss.org/message/367141

Reply to this message by going to Community

Start a new discussion in IronJacamar at Community