How to deploy and undeploy application using CLI in "--unmanaged" way in EAP6

Solution Verified - Updated -

Issue

  • How to deploy and undeploy application in unmanaged way using CLI so that the deployment should look like following inside the configuration file.
    <deployments>
        <deployment name="myapp.war" runtime-name="myapp.war">
            <fs-archive path="/home/userone/myapp.war"/>
        </deployment>
    </deployments>
  • Above option will allow placing the WAR file in any custom directory and will not generate any sha-1 hashed value for the deployed application.

  • Will there be any problem if users deploy the same file with the --unmanaged parameter in more than one JBoss instance in the same linux server?

  • Is it possible to use --force with deploy --unmanaged ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

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.