Analytics Backend is unable to reconnect - The Apache Tomcat Native library could not be found using names
search cancel

Analytics Backend is unable to reconnect - The Apache Tomcat Native library could not be found using names

book

Article ID: 264067

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

After upgrading, there is a connection issue with the Analytics backend. The AWI displays the error message: "Cannot connect to the Analytics backend. Check the Analytics logs." Upon reviewing the IA Agent trace, the following error is found:

After verifying the IA Agent trace we find-

2023-04-10 13:39:51.918 DEBUG 118746 --- [main] o.a.catalina.core.AprLifecycleListener   : The Apache Tomcat Native library could not be found using names [tcnative-2, libtcnative-2, tcnative-1, libtcnative-1] on the java.library.path [.:/####/####/####/AutomationEngine/bin:/####/####/####/Utility/bin:/####/####/####/oracle/instantclient_19_16::/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]. The errors reported were [Can't load library: /####/####/####/Analytics/backend/bin/libtcnative-2.so, Can't load library: /####/####/####/Analytics/backend/bin/liblibtcnative-2.so, Can't load library: /####/####/####/Analytics/backend/bin/libtcnative-1.so, Can't load library: /####/####/####/Analytics/backend/bin/liblibtcnative-1.so, no tcnative-2 in java.library.path: [., /####/####/####/AutomationEngine/bin, /####/####/####/Utility/bin, /####/####/####/oracle/instantclient_19_16, ., /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib], no libtcnative-2 in java.library.path: [., /####/####/####/AutomationEngine/bin, /####/####/####/Utility/bin, /####/####/####/oracle/instantclient_19_16, ., /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib], no tcnative-1 in java.library.path: [., /####/####/####/AutomationEngine/bin, /####/####/####/Utility/bin, /####/####/####/oracle/instantclient_19_16, ., /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib], no libtcnative-1 in java.library.path: [., /####/####/####/AutomationEngine/bin, /####/####/####/Utility/bin, /####/####/####/oracle/instantclient_19_16, ., /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]]

Environment

Release : 21.0.4

Cause

Analytics is configured to connect to the wrong endpoint, causing it to fail in locating the required libraries.

Resolution

To resolve this issue, please follow these steps:

Locate the plugin.properties file in the Analytics folder.
Open the plugin.properties file and verify the value of the "backend.endpoint" parameter. Ensure that it points to the correct AE server name.