Make the timeout for JettyRemoteDeployer configurable

Description

JettyRemoteDeployer has a hard-coded timeout of 30 seconds for new deployments:

1 2 3 4 /** * Timeout when deploying. */ private static final long TIMEOUT = 30000;

and

1 2 3 // CARGO-1122: Just wait for Jetty to deploy the application by itself long timeout = System.currentTimeMillis() + DeployerServlet.TIMEOUT; while (System.currentTimeMillis() < timeout)

We're deplying a big war file (generated by a 3rd party) to a virtualized server, so deployment typically takes 1 minute. The timeout should be configurable, so that cases like this can increase the timeout (whereas the default is probably fine for 99% of the users).

Status

Assignee

S. Ali Tokmen

Reporter

Håvard Bjåstad

Components

Fix versions

Priority

Major