[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 16:13:35 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/578474#578474

--------------------------------------------------------------
No
when myproperties-jboss-beans.xml are placed in deployers dir they are available before the ear gets deployed
ok it finally works somehow :-)

I supposed to use the supply/demand scenario with both myproperties-jboss-beans.xml and myapp.ear in deploy dir but it doesn't work since JAXB unmarshals myapp.ear/my-ds.xml descriptor before SystemPropertiesService reaches its configured state and thus
> * would like to use <max-pool-size>${myapp.db.maxPoolSize}</max-pool-size> in myapp.ear/my-ds.xml
> * ends up with maxPoolSize == 0
> 

2011-01-03 14:45:56,810 DEBUG (main)[org.jboss.system.ServiceConfigurator] MaxSize set to 0 in jboss.jca:service=ManagedConnectionPool,name=Ora11DS
--------------------------------------------------------------

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

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

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


More information about the jboss-user mailing list