[
https://issues.jboss.org/browse/WFLY-4367?page=com.atlassian.jira.plugin....
]
Brian Stansberry commented on WFLY-4367:
----------------------------------------
This should be moved to WFCORE, as that is where this file is currently maintained.
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)