[jboss-jira] [JBoss JIRA] (WFCORE-877) Redirection (<, <<) do not work in CLI

Joe Wertz (JIRA) issues at jboss.org
Thu Aug 20 08:54:28 EDT 2015


     [ https://issues.jboss.org/browse/WFCORE-877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Wertz reassigned WFCORE-877:
--------------------------------

    Assignee: Joe Wertz  (was: Alexey Loubyansky)


> Redirection (<, <<) do not work in CLI
> --------------------------------------
>
>                 Key: WFCORE-877
>                 URL: https://issues.jboss.org/browse/WFCORE-877
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: CLI
>            Reporter: Marek Kopecký
>            Assignee: Joe Wertz
>            Priority: Blocker
>
> *Description of problem:*
> Redirection (<, <<) do not work in CLI
> *How reproducible:*
> Always
> *Steps to Reproduce:*
> # echo ":shutdown" > c
> # ./jboss-cli.sh -c < c
> *Actual results:*
> You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
> *Expected results:*
> ":shutdown" command will be executed
> *Another 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
> # cd ..
> # echo "bob=81ce18184f7b1095a367d5fae624ac15" >> standalone/configuration/mgmt-users.properties
> # ./bin/standalone.sh &
> # {noformat}./bin/jboss-cli.sh -c <<EOF
> bob
> admin123$
> batch
> :shutdown
> run-batch
> EOF{noformat}
> *Actual results:*
> Unexpected command 'bob'. Type 'help --commands' for the list of supported commands.
> *Expected results:*
> ":shutdown" command will be executed
> *Additional info:*
> Regression against 6.4.0
> Regression against 7.0.0.DR7
> Bugzilla from 6x
> * https://bugzilla.redhat.com/show_bug.cgi?id=961425
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jboss-jira mailing list