When starting a Remote Agent for the first time, the Agent fails to connect to the RMI, awapi times out. Agent logs report the following error:
ErrorMsg: AwE-5126 Agent validation error
Details: AGENTNAME AGENTHOSTNAME/126.96.36.199 50000
Agent validation error : AGENTNAME AGENTHOSTNAME/188.8.131.52 50000 : java.net.ConnectException: not authorized to make connection
Make sure the Agent name, IP/Host, and OS user parameter on the remote agent matches what is listed for the Agent's object definition as defined in the Java Web Client.
Also, make sure Applications Manager's environment file has been called before starting the Agent.