-
Bug
-
Resolution: Done
-
Blocker
-
7.0.0.ER4
-
None
Description of problem:
Redirection << do not work in CLI
Similar issue with different error messages was reported in EAP 7.0.0.DR8 - JBEAP-670 - (it was also blocker)
Regression against 6.4.0
Regression against 7.0.0.DR7
Regression against 7.0.0.ER3
Bugzilla from 6x
Customer cases (EAP 6x):
- https://access.redhat.com/support/cases/#/case/00904577
- https://access.redhat.com/support/cases/#/case/00889193
- https://access.redhat.com/support/cases/#/case/00910827
- https://access.redhat.com/support/cases/#/case/00910848
How reproducible:
Always
Steps to reproduce:
- cd bin
- ./standalone.sh &
- ./jboss-cli.sh -c command=/core-service=management/security-realm=ApplicationRealm/authentication=local:remove
- ./jboss-cli.sh -c command=/core-service=management/security-realm=ManagementRealm/authentication=local:remove
- ./jboss-cli.sh -c command=:shutdown
- ./add-user.sh -u bob -p admin123$ -s
- ./standalone.sh &
./jboss-cli.sh -c <<EOF bob admin123$ batch :shutdown run-batch EOF
Actual results:
The command is not available in the current context (e.g. required subsystems or connection to the controller might be unavailable). [standalone@localhost:9990 / #] Task org.jboss.aesh.console.Console$5@52102734 rejected from java.util.concurrent.ThreadPoolExecutor@3541cb24[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
Expected results:
":shutdown" command will be executed
- is cloned by
-
WFCORE-1331 CLI input redirection regression
- Resolved
- relates to
-
JBEAP-670 Redirection (<, <<) do not work in CLI
- Closed