patch apply command not working as expected in non-interactive mode in EAP 6
Issue
In non-interactive mode we cant apply a patch to slave host via the domain controller:
[user@domain ~]$ $JBOSS_HOME/bin/jboss-cli.sh --user=xxxx --password=xxx --command="patch apply --host=slave /var/tmp/jboss-
eap-6.2.4-patch.zip"
patching exception
but it works interactively:
[domain@localhost:9999 /] patch apply --host=salve /var/tmp/jboss-eap-6.2.4-patch.zip
{
"outcome" : "success",
. . .
- Why does it not work non-interactive mode ?
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.