[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-767) Variable substitution in ejb-jar.xml

Stephan Pelikan (JIRA) jira-events at jboss.com
Mon Oct 30 03:33:41 EST 2006


Variable substitution in ejb-jar.xml
------------------------------------

                 Key: EJBTHREE-767
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-767
             Project: EJB 3.0
          Issue Type: Feature Request
    Affects Versions: EJB 3.0 RC9 - FD
         Environment: JBoss 4.0.5.GA; Windows jdk1.5.0_06; 
            Reporter: Stephan Pelikan
            Priority: Minor


In EJB2.x deployments "variables" are substituted but in EJB3 not:

JVM started with argument -Dx.y.z=abc

META-INF/ejb-jar.xml:
    ...
    <env-entry>
        <env-entry-name>xyz</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>${x.y.z}</env-entry-value>
        ....

In a EJB2.x-deployment fetching this env-entry results in "abc" in EJB3-deployments the result is "${x.y.z}".


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

        



More information about the jboss-jira mailing list