DronaBlog

Wednesday, September 18, 2024

Troubleshooting RunAJobCli Error: "Could not find or load main class com.informatica.saas.RestClient"

 In this article, we will understand the steps to troubleshoot an error encountered when attempting to run an ETL job through control-m software using RunAJobCli in Cloud Data Integration (CDI).

Error Description:

When attempting to run an ETL job through control-m software, you might encounter the following error message:

/opt/InformaticaAgent/apps/runAJobCli/cli.sh Error: Could not find or load main class com.informatica.saas.RestClient

Additionally, you might observe that the expected runAJobCli package at /opt/InformaticaAgent/downloads/package-runAJobCli.35 is missing.

Root Cause:

This error occurs because the Data Integration service is not enabled on the Secure Agent. Although the runAJobCli package is present and the runajob license is enabled in the organization, the Secure Agent requires the Data Integration service to function correctly.





Solution:

  1. Enable Data Integration Service:

    • Access the Informatica Cloud Manager (ICM) console.
    • Navigate to the "Agents" section and locate the Secure Agent where the issue is occurring.
    • Edit the properties of the Secure Agent.
    • Under "Services," ensure the checkbox for "Data Integration" is selected.
    • Save the changes to the Secure Agent configuration.
  2. Restart Secure Agent:

    • After enabling the Data Integration service, it's recommended to restart the Secure Agent to apply the changes. The specific steps for restarting the Secure Agent may vary depending on your operating system. Refer to the appropriate Informatica documentation for your platform.
  3. Retry Job Execution:

    • Once the Secure Agent is restarted, attempt to run the ETL job again using RunAJobCli through control-m software.

Additional Considerations:

  • Verify that the runAJobCli package version is compatible with your Informatica Cloud environment. Refer to the Informatica documentation for supported versions.
  • If the issue persists after following these steps, consult the Informatica Cloud Knowledge Base or contact Informatica Support for further assistance.

By enabling the Data Integration service on the Secure Agent, you ensure that it has the necessary functionality to interact with RunAJobCli and trigger your ETL jobs successfully.


Learn more about Informatica IDMC here



No comments:

Post a Comment

Please do not enter any spam link in the comment box.

Dynatrace : An Overview

  Dynatrace, a leading provider of software intelligence, offers a powerful platform designed to monitor, analyze, and optimize the performa...