How to increase the timeout of CLI calls to the server to > 10 secs?

Follow

Daphne Burgerhoudt -

Scenario

Describe why or when do you need to perform the task in question.

In our case the CLI function deployment.createDeployTask() returned

"javax.ws.rs.ProcessingException: RESTEASY004655: Unable to invoke request"

when it took more that 10 seconds to create the task on the server side.

Environment

XL Deploy CLI

Steps to Perform

You can use this optional argument socketTimeout while starting your CLI with cli.sh/cli.cmd:

 -socketTimeout N   

Define the default socket timeout (SO_TIMEOUT) in
                      milliseconds which is the timeout for waiting for data.
                      Defaults to 10000 (default: 10000)
Additional Information

-

Tags

kb, how-to, XL Deploy CLI, Command Line Interface, increase timeout

Have more questions? Submit a request
Powered by Zendesk