[
https://issues.jboss.org/browse/JBMETA-361?page=com.atlassian.jira.plugin...
]
Brad Maxwell commented on JBMETA-361:
-------------------------------------
Updating PropertyTest.ear, it doesn't actually work for the war either.
add this to web.xml of PropertyTest.war
<env-entry>
<env-entry-name>test</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>${sysProp:'web-test'}</env-entry-value>
</env-entry>
Add this to the index.jsp:
<%=new InitialContext().lookup("java:comp/env/test") %><br/>
The result is the same as the lookup for java:app/env/test, which is that no property
substitution occurred. So I think the issue is different, the issue seems to be property
substitution is not occurring on env-entry in application.xml, web.xml and probably other
xmls. I tested in an AS 7.2 Alpha build
CLONE - application.xml does not support property replacement
-------------------------------------------------------------
Key: JBMETA-361
URL:
https://issues.jboss.org/browse/JBMETA-361
Project: JBoss Metadata
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: ear, web
Affects Versions: 7.0.4
Reporter: Tom Fonteyne
Priority: Minor
Attachments: PropertyTest.ear, PropertyTest.ear
Property substitution in application.xml does not work
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira