[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 08:53:34 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/578350#578350
--------------------------------------------------------------
Hi Ales
Thanks for answer!
>> How exactly are you seeing the "but no success"?
I've rewritten properties-service.xml to properties-jboss-bean.xml to be able to define supply:
<bean name="SystemProperties" class="org.jboss.varia.property.SystemPropertiesService"> <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:type=Properties,name=MyAppSystemProperties",exposedInterface=org.jboss.varia.property.SystemPropertiesServiceMBean.class</annotation> <property name="properties" replace="false">
istep.db.maxPoolSize=150
istep.db.idleTimeout=60
</property>
<supply>SystemProperties</supply>
</bean>
and I placed demand into ear CL deployer:
<bean name="EARClassLoaderDeployer" class="org.jboss.deployment.EarClassLoaderDeployer">
<!-- A flag indicating if ear deployments should have their own scoped
class loader to isolate their classes from other deployments.
-->
<property name="isolated">false</property>
<demand>SystemProperties</demand>
</bean>
but JAXB started to unmarshal ds descriptor before "configured" of system properties
may be I'm completely wrong but as I had some time during christmas to dive into source codes I'm really curious about solution :-)
>> Placing your property service into deployers/ should work.
and it really works !!!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578350#578350]
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/dbef474c/attachment-0001.html
More information about the jboss-user
mailing list