Java Agent (SAP, RA, JMX, SQL) connection to AutomationEngine (Server) is terminated with Java errors shown below written in the Agent log:
U2000010 Connection to Server '220.127.116.11:2217' terminated.
java.io.IOException:Connection reset by peer
U2000196 Next attempt to create a CP connection in '600' seconds.
These errors similar to this appear are written in one of the AutomationEngine's CP logs:
The most likely cause is the a maximum message size has been exceeded. In order for Automic to avoid 3rd party applications flooding a CP, the maximum message size that a CP can accept can be set in the INI file of the AE.
In this example, the message size is almost 4MB:
U1002210 Message with length '3904695' not allowed
The default message size that a CP can accept is '3145728' (3 Mbytes). Since the message from the Java_Agent is 3904695 bytes (almost 4MB), the acceptable message size needs to be increase in the AE INI file here:
maxMsgSize= 4000000 (Maximum length of messages (in bytes) that a CP (Server communication process) accepts.)
U1002200 Received an invalid message from partner 'Java_Agent' via connection '18.104.22.168:52852'.
U1002210 Message with length '3904695' not allowed.
U0009907 Memory dump 'Invalid Msg from 'Java_Agent' (Address='bfbed010', Length='49152')