How to automate CLI commands in JBoss EAP ?

Solution Unverified - Updated -

Issue

  • How to automate JBoss EAP CLI commands execution without human interaction?
  • We have several applications that we would like to deploy with one command. We do not want to use the web console since it takes some time so we started using the the jboss-cli.bat. Is there anyway to run a similar command to deploy all jars inside the directory "somepath" ?

Environment

  • Red 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.