Hi all,
I am using the vcap-java-client (https://github.com/cloudfoundry/vcap-java-client/) to manage applications in a local CloudFoundry instance.
The deployment is going well for allmost all the applications till i tried to deploy an XWiki.war. Apparently the read timeout of the restTemplate is not enough to complete the operation. The stackTrace of the Exception is:
org.springframework.web.client.ResourceAccessExcep tion: I/O error: Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
at org.springframework.web.client.RestTemplate.doExec ute(RestTemplate.java:453)
at org.springframework.web.client.RestTemplate.execut e(RestTemplate.java:401)
at org.springframework.web.client.RestTemplate.postFo rObject(RestTemplate.java:279)
at org.cloudfoundry.client.lib.rest.CloudControllerCl ientV1.getKnownRemoteResources(CloudControllerClie ntV1.java:605)
at org.cloudfoundry.client.lib.rest.CloudControllerCl ientV1.uploadApplication(CloudControllerClientV1.j ava:331)
at org.cloudfoundry.client.lib.rest.CloudControllerCl ientV1.doUploadApplicationZipFile(CloudControllerC lientV1.java:545)
at org.cloudfoundry.client.lib.rest.CloudControllerCl ientV1.uploadApplication(CloudControllerClientV1.j ava:320)
at org.cloudfoundry.client.lib.CloudFoundryClient.upl oadApplication(CloudFoundryClient.java:190)
at org.cloudfoundry.client.lib.MainTest.main(MainTest .java:50)


Does anyone know how can i change this timeout?
Best regards;