A connection failure error may occur when there is an insufficient number of file handles available to Replication Agent.
The following error message may indicate this problem:
java.lang.NoClassDefFoundError: ... ConnectFailedEvent at ... FailedToConnect
If this error occurs while Replication Agent is otherwise functioning normally (that is, the entire replication system seems to be working properly) and you cannot find another cause for the connection failure, it may indicate a file handles problem.
To solve this problem, increase the number of file handles available to Replication Agent.