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

Radim Hanus do-not-reply at jboss.com
Mon Jan 3 07:11:46 EST 2011

Radim Hanus [http://community.jboss.org/people/rhanus] 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: http://community.jboss.org/message/578232#578232

wow so the implementation is here as I suggested :-) I really didn't take notice of subversion commits in the issue

it took me a while to build JBPAPP_5_1 on windoze without patch utility because simply setting build.unsecure= in build.properties is not enought
but that's a different story

ok your fix is working but only for integer and long fields of ManagedConnectionFactoryDeploymentMetaData and its succesors
why not booleans ?

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

Reply to this message by going to Community

Start a new discussion in IronJacamar at Community

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

More information about the jboss-user mailing list