Unable to post messages on agent side

book

Article ID: 7613

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

Problem: we are using the "Invoke Java" Operator on a Process Automation Agent. Basically, this is working fine. But unfortunately, only after a freh restart of the Process Automation Agent of the target node. A second attempt will fail with "Message could not be posted to the node"-error. After killing the agent and restarting it, it works fine again - for exactly a singe process execution. 

Environment

agent logs ************* 2017-07-21 14:43:52,244 ERROR [com.optinuity.c2o.util.SimpleCastorXMLUtil] [A Agent Startup] Mapping File serviceOperationMappingFilenot Found. This may be available at GUI or Source. 2017-07-21 14:43:52,245 ERROR [com.optinuity.c2o.util.SimpleCastorXMLUtil] [A Agent Startup] SimpleCastorXMLUtil.getMapping: failed to find mapping serviceOperationMappingFile file: serviceOperationMappingFile 2017-07-21 14:43:56,658 WARN [com.optinuity.c2o.util.SSLCertificateUtilities] [A Agent Startup] Setup to accept all SSL Certificates Removing / Reinstalling the agent did not help

Resolution

Above error could be related to mismatching Java versions between the agent and the orchestrator. Please confirm matching Java versions. It because it is recommended that the JDK versions match up between the orchestrator and the agent.  To check this run the following from the command line:

java -version

It's always a best practice to keep the Java versions between integrated systems identical.