]
Jean-Francois Denise closed WFCORE-630.
---------------------------------------
Resolution: Done
jboss-cli.xml should include timeout of 30 seconds
---------------------------------------------------
Key: WFCORE-630
URL:
https://issues.jboss.org/browse/WFCORE-630
Project: WildFly Core
Issue Type: Enhancement
Components: CLI
Reporter: Travis Rogers
Assignee: Jean-Francois Denise
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.