Can I use JBoss CLI from a JON for Continuous Deployment to JBoss EAP 6 ?

Solution Unverified - Updated -

Issue

  • We are looking at setting up continuous deployment for some of our apps. Typically we build a war file automatically (using Jenkins) and we are looking at pushing this war file out to one or more JBoss EAP 6 instances automatically.

The two options I can see are:

1) Use the Jboss CLI (https://community.jboss.org/wiki/CommandLineInterface)
2) Create a bundle and use the JBoss ON CLI to deploy it (ultimately, this seems to involve hot deploying the app by copying the war file to JBOSS_HOME/standalone/deployments, in the past we have seen JBoss run out of memory after repeated hot deploys without restarting the instance)

Both of these are supported / documented by Redhat. Is one considered best practice? Is there another better way we haven't considered?

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.0
Jboss Operation Networks(JON)3.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