Skip to content

Issues with Component Behavior Data Not Displaying in UI

Issues with Component Behavior Data Not Displaying in UI in CA Monitoring Issues.

4 min read Updated SS RS

Issues with Component Behavior Data Not Displaying in UI#

Case 1 — Error:

E1072: Error occurred while decrypting the password.
java.security.NoSuchProviderException: JCE cannot authenticate the provider BC

Solution: for component instance APP-Z2-HOST-WAS-184-203, the username was configured but the password was missing. Reconfiguring both the username and password in the attribute values resolved the issue.

Case 2 — Error: a java.util.jar.JarException indicated that the file bcprov-jdk15on-1.54.jar was not signed by a trusted signer. The problem was suspected to be related to security policies.

Solution: replace the JDK with a version from a working server. The steps involved passing a parameter in the java.security file and copying a jar file into the jre/lib/ext directory.

Reference comparison of Java versions:

# Non-working server
java version "1.8.0_301"
IBM J9 VM (build 2.9, JRE 1.8.0 AIX ppc64-64-Bit Compressed References
20210622_7763) - based on Oracle jdk8u301-b09

# Working server
java version "1.8.0_271"
IBM J9 VM (build 2.9, JRE 1.8.0 AIX ppc64-64-Bit Compressed References
20201102_458768) - based on Oracle jdk8u271-b09

Replacing the JDK with the version proven to work on another server resolved the missing component-behavior data in the UI.

Supervisor Session Spanning Multiple Processes#

Issue: an increase in load average and CPU utilization was observed on target servers. During the issue, over 4,000 sessions were seen from the Supervisor start and status scripts, impacting application performance. The problem emerged for the first time following an upgrade at the end of November.

Solution: the configuration involves four servers sharing a common path, with four separate directories for the agents specific to each server. The Supervisor restart flow is logged in supervisor_daemon.log. During the incident, the log showed the Supervisor monitor already stopped when a stop was attempted. This occurred because the restart script for one server (for example, Server 3) was invoked from another server (Server 2), leading to confusion over PIDs: the monitor PID started from Server 3 was not found when the script ran from Server 2, so the system assumed the monitor was already stopped and started a new monitor and a new Supervisor. The existing monitor on Server 3, still running, then read the new PID from the PID file and incorrectly stopped and started the Supervisor.

Ensure that Supervisor restart scripts are invoked from the correct server corresponding to their respective Supervisor instances. This prevents multiple instances and sessions and avoids undue CPU and load-average strain on the target servers.

Issue with Missing libnetty_tcnative_aix_ppc_64.so File#

Issue: the Component Agent encountered a java.io.FileNotFoundException for META-INF/native/libnetty_tcnative_aix_ppc_64.so. The CA shipped libnetty_tcnative_aix_ppc_64.a but required the .so file.

Solution: the development team updated the library and provided a new final jar so that libnetty_tcnative_aix_ppc_64.so is available. To resolve this:

Place libgcc_s.a in the lib/ssl folder, and place netty-tcnative-openssl-static-2.0.36.Final-a1.jar in the lib folder of the Component Agent.

Note: This specific issue pertains to systems running AIX 7.1.

In CC, Issue with Agent Status START/STOP Toggle#

In the Control Center, the agent status START/STOP toggle spins continuously. When a command is sent from CC to the Supervisor Controller, it is forwarded to the Supervisor; in some cases the Supervisor does not receive the command, and in those cases the status should be 0.

In CC, Issue with Agent Status START/STOP Toggle
In CC, Issue with Agent Status START/STOP Toggle

Solution: in the DB, the CA agent's is_command_executed flag was 0; updating it to 1 resolved the issue.

Unable to Find Valid Certification Path in CA#

SSL certificate validation fails when connecting to a target server. The error is due to the inability to build a valid certificate path, because the target server is behind a firewall.

RCA: the CA server could not establish a secure SSL connection to the target, and certificate creation failed because it could not be performed directly from the HEAL server.

1. Identify the Java installation: on the target server, identify the Java installation in use (in this case, from WebSphere).

2. Copy and rename the cacerts file:

a. Navigate to the directory:

ComponentAgent\config\tools

b. Copy the cacerts file from the Java installation and rename it to jssecacerts within the same directory.

3. Compile the InstallCert utility:

E:\IBM\WebSphere\AppServer\java\8.0\bin\javac InstallCert.java

4. Generate the certificate for the target server:

E:\IBM\WebSphere\AppServer\java\8.0\bin\java InstallCert 192.0.2.90:8880

This creates the certificate for the server at 192.0.2.90 on port 8880.

5. Update the jssecacerts file:

a. Verify the jssecacerts file is updated.

b. Rename jssecacerts back to cacerts and replace the original cacerts file with the new one.

6. Restart the CA.