JBoss EAP 7 CLI batch command failure with "deploy --force" for replace deployment
Issue
- Error while deploying using JBoss CLI
- Using
deploy --force
command on JBoss EAP 7 CLI batch mode fails and returns an error message. -
This used to work with JBoss EAP 6.4.7 however since I have upgraded to EAP 7 I get the following error:
-
Command:
#jboss-cli.sh --connect --controller=127.0.0.1:9999 --user=admin --password=xxx --file="deploy.cli"
The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): Request is missing the address part.
- deploy.cli:
batch
deploy --force ./jboss-ejb-in-ear.ear
run-batch
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.