[
https://issues.jboss.org/browse/WFCORE-630?page=com.atlassian.jira.plugin...
]
Jean-Francois Denise commented on WFCORE-630:
---------------------------------------------
[~trogers-rh], an element is now present in jboss-cli.xml. It is commented but it is easy
for the user to understand what needs to be done to get a 30 secs timeout.
I will close this issue as fixed.
JF
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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)