How to use Expression in fs-archive attribute
Issue
- Need to use expression in fs-archive under deployments tag
<deployments>
<deployment name="${application.name}" runtime-name="${application.name}">
<fs-archive path="${application.path}"/>
</deployment>
</deployments>
But, when starting the server, we get this message:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."${application.name}".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."${application.name}".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "${application.name}"
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.1 Alpha
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.