[jbossts-issues] [JBoss JIRA] Commented: (JBTM-369) String property replacement in configuration

Dmitri Voronov (JIRA) jira-events at lists.jboss.org
Thu Aug 7 11:17:50 EDT 2008

    [ https://jira.jboss.org/jira/browse/JBTM-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424095#action_12424095 ] 

Dmitri Voronov commented on JBTM-369:

You are right, the easiest way is to define the system properties in the command line
We just used to use this nice feature provided by JBoss and then apply the system properties within the xml based configurations of (almost) all JBoss components like -service.xml, web.xml and -ds.xml. It is also a possibility to define default values (others as those that are hard coded) for the configuration properties e.g.:
<property name="com.arjuna.ats.arjuna.xa.nodeIdentifier" value="${my.unique.name:1111}"/>
In this case if the deployed application set a specific value my.unique.name then com.arjuna.ats.arjuna.xa.nodeIdentifier is replaced by my.unique.name.

> String property replacement in configuration
> --------------------------------------------
>                 Key: JBTM-369
>                 URL: https://jira.jboss.org/jira/browse/JBTM-369
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Configuration
>    Affects Versions: 4.3.0.GA
>            Reporter: Dmitri Voronov
>         Attachments: config-string-replace.jar
> Please implement string property replacement in jbossjta-properties.xml like:
> <property name="com.arjuna.ats.arjuna.xa.nodeIdentifier" value="${my.unique.name}"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list