CLI Command - Error handling command: deploy
Hi everyone,
I am trying to use Jython Script to deploy '*.ear' file on JBOSS EAP 6 Cluster running in Domain Mode.
This Jython Script uses CLI class to connect with remote EAP Domain Controller and also for the deployment.
Following is the CLI method that I am using to deploy the ear file.
deploy ...\target\XyzEAR.ear --server-groups=abc-df-efg
For some reason, this file argument throws an error message:
"java.lang.IllegalArgumentException:
java.lang.IllegalArgumentException:
Error handling command:
deploy -f ... arget\XyzEAR.ear --server-groups=abc-df-efg"
there were lot of blank spaces in the file argument in the displayed message.
The same method works fine with no error if I put the file name argument like "C:\target\XyzEAR.ear".
Is there any way to pass a longer file argument to 'deploy' method?