[jboss-jira] [JBoss JIRA] (WFLY-4367) jboss-cli.xml should include timeout of 30 seconds

Travis Rogers (JIRA) issues at jboss.org
Thu Feb 19 11:32:49 EST 2015


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

Travis Rogers updated WFLY-4367:
--------------------------------
    Attachment: loop-cli-cmd.sh


Test script

>  jboss-cli.xml should include timeout of 30 seconds
> ---------------------------------------------------
>
>                 Key: WFLY-4367
>                 URL: https://issues.jboss.org/browse/WFLY-4367
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: CLI
>    Affects Versions: 8.2.0.Final
>            Reporter: Travis Rogers
>            Assignee: Alexey Loubyansky
>         Attachments: loop-cli-cmd.sh
>
>
> Description of problem:
> CLI commands use a default timeout of 5 seconds.  Testing has shown that connection timeouts will occur with a timeout value this low.  Recommended value is 30 seconds.
> The following default setting should be added to $JBOSS_HOME/bin/jboss-cli.xml:
>     <connection-timeout>30000</connection-timeout>
> Version-Release number of selected component (if applicable):
> How to reproduce:
> Loop calling the CLI executing a command.
> Example command:
>   jboss-cli.sh -c --command=":read-attribute(name=server-state)"
> Actual results:
> Connection timeout error will eventually be thrown.
> Expected results:
> No errors due to connection timeout.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list