Article Number
000068202
Applies To
RSA Product Set: RSA Governance & Lifecycle
RSA Version/Condition:
- SecurID Governance & Lifecycle 7.5.2 P04, P05, P06.
Issue
The Remote AveksaAgent fails to start as a service on Windows machines,
Image descriptionThe following exception is shown in the wrapper.log
INFO | jvm 1 | 2023/05/28 10:20:06 | WrapperSimpleApp: Unable to locate the class com.aveksa.client.datacollector.startup.Bootstrap: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
Cause
Java classpath in the wrapper.conf file is pointing to a different log4j.jar file, hence remote agent was failing to start as a service
Resolution
This issue is resolved in the following versions/patches:
- SecurID Governance & Lifecycle 7.5.2 P07
Workaround
Follow the below steps as a workaround on 7.5.2 P06 to run the remote agent as a service on a Windows machine:
- Stop RemoteAgent if running already.
- Uninstall Remote Agent by running "UninstallAvAgent-NT" file.
- Download Remote agent zip from UI and re-deploy the agent on windows box.
- Remove below lines from wrapper.conf file present under agent conf folder.
- wrapper.java.classpath.3=../common/lib/log4j-1.2.17-1.0-rsa-1.jar
- wrapper.java.classpath.4=../conf
- Add below lines in the same file & save
- wrapper.java.classpath.3=../common/lib/log4j-1.2-api-2.17.2.jar
- wrapper.java.classpath.4=../common/lib/log4j-api-2.17.2.jar
- wrapper.java.classpath.5=../common/lib/log4j-core-2.17.2.jar
- wrapper.java.classpath.6=../conf
- Go to Remote agent bin folder & install agent by running "InstallAvAgent-NT" file.
- Go to Services window and start AveksaAgent service.