SOAP Exception while installing application to WebSphere with wsadmin
When deploying (larger) applications to WebSphere with wsadmin scripting some times a SOAP Exception occurs. This is due to a low default SOAP timeout. wsadmin uses internally SOAP to communicate with the WebSphere instance.
Exception message:
Solution:
To increase the timeout locate the soap.client.props file of your locale and remote profile and set the com.ibm.SOAP.requestTimeout to a higher value
Exception message:
WASX7017E: Exception received while running file "<your-path>\install_app.py"; exception information: com.ibm.websphere.management.exception.ConnectorException [wsadmin] Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Read timed out; targetException=java.net.SocketTimeoutException: Read timed out]
Solution:
To increase the timeout locate the soap.client.props file of your locale and remote profile and set the com.ibm.SOAP.requestTimeout to a higher value
#------------------------------------------------------------------------------ # SOAP Request Timeout # # - timeout (specified in seconds [default 180], 0 implies no timeout) # #------------------------------------------------------------------------------ com.ibm.SOAP.requestTimeout=1800