SoapProvisioning class and invoke Read timed out error
Hi
I have a java web application that create Zimbra accounts using the java SOAP API.
My code uses the SoapProvisioning class and it is similar to the example in this post:
Jar For Soap Client
It works OK most of the time but sometimes, it seems that randomly, the account creation fails and this exception is thrown:
Code:
Exception: com.zimbra.common.zclient.ZClientException
e.getMessage(): invoke Read timed out, server: SERVERNAME
StackTrace:
com.zimbra.common.zclient.ZClientException.IO_ERROR(ZClientException.java:45)
com.zimbra.cs.account.soap.SoapProvisioning.invoke(SoapProvisioning.java:323)
com.zimbra.cs.account.soap.SoapProvisioning.get(SoapProvisioning.java:663)
com.zimbra.cs.account.soap.SoapProvisioning.get(SoapProvisioning.java:630)
com.zimbra.cs.account.Provisioning.getAccountByName(Provisioning.java:636)
...
I have not found an explanation and I am not able to reproduce the problem. It just happens sometimes.
Any clue about why is this happening?
Thank you.