Best practices to connect thirdparty services from ATG
This issue typically occurs when ATG uses a client to access external hosted services over http when the read/connection timeout are not configured.The speed and integrity of the external services is outside of the control of ATG however if these services are unavailable any attempt to connect to them over http will result in a connection (or thread) which does not timeout (the default http connection timeout is configured to -1 or 0 which is infinite). This results in a build of hanging threads in the ATG application which wait on the default http timeout. . Recommendations Below is a list of recommendations to overcome outages 1. Prevent client requests invoking application threads indefinitely . Set the sun.net.client.defaultConnectTimeout and sun.net.client.defaultReadTimeout 2. Prevent application from using an thirdparty services which are unavailable . Implement a mechanism for preventing unnece...