[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
Tue Jan 4 12:03:21 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/578771#578771
--------------------------------------------------------------
I tried my best but it still doesn't work for me please help ;-)
fixed deployers/dependency-deployers-jboss-beans.xml
<bean name="DependenciesParserDeployer" class="org.jboss.deployers.vfs.plugins.dependency.DependenciesParserDeployer">
<property name="stage"><inject bean="PreParseStage"/></property>
</bean>
<bean name="DependenciesMDDeployer" class="org.jboss.deployers.vfs.plugins.dependency.DependenciesMetaDataDeployer">
<property name="stage"><inject bean="PreParseStage"/></property>
</bean>
<bean name="DeploymentDependenciesDeployer" class="org.jboss.deployers.vfs.plugins.dependency.DeploymentDependencyDeployer">
<property name="stage"><inject bean="PreParseStage"/></property>
</bean>
<bean name="PreParseStage" class="org.jboss.deployers.spi.deployer.DeploymentStage">
<constructor>
<parameter class="java.lang.String">PreParse</parameter>
<parameter class="java.lang.String">Not Installed</parameter>
</constructor>
</bean>
new deploy/myapp.ear/META-INF/jboss-dependency.xml:
<dependency xmlns="urn:jboss:dependency:1.0">
<item whenRequired="PreParse" dependentState="Create">istep:type=Properties,name=SystemProperties</item>
</dependency>
I've tried a plenty of both whenRequired and dependentState combinations but no luck
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578771#578771]
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/20110104/85946d31/attachment.html
More information about the jboss-user
mailing list