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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content