How to use Expression in fs-archive attribute

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.