Seeing error "Unable to start User Data Service. Ensure that the bootstrap is complete before starting User Data Service." in the CA App Experience Analytics ca-uds.log

Document ID : KB000004384
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

We encounter the problem discussed in knowledge article TEC1814474, and after reviewing the logs as suggested, we observed the following error in the ca-uds.log:

Error2.png

Environment:
CA App Experience Analytics (Formerly known as MAA) 15.4
Cause:

This error indiates that the bootstrapping of the User Data Service componentt did not complete during installation. Typically, if the component is installed using the AXA Installer, the installer would perform the bootstrapping automatically. In this case, the installation was done manually, and the bootstrapping step was missed/skipped.

Resolution:

Following steps can be performed to manually bootstrap the component:

1. Stop the CA App Experience Analytics service.

2. Ensure that cryptojce-6.1.jar, cryptojcommon-6.1.jar and jcmFIPS-6.1.jar are available in the same directory as DBPopulator.jar.

3. For Oracle
java -jar DBPopulator.jar -d oracle -u <dbuser> -p <dbpwd> -t <OracleTNSName> -T B --host <db host> --port <db port>

4. For SQL Server
java -jar DBPopulator.jar -d mssqlserver -u <dbuser> -p <dbpwd> -n <SQLServerDatabaseName> -T B --host <db host> --port <db port>


Note:

If you are running the command on a Linux box, add this option to the command: -Djava.security.egd=file:/dev/./urandom

For example:

java -Djava.security.egd=file:/dev/./urandom -jar DBPopulator.jar -d oracle -u <dbuser> -p <dbpwd> -t <OracleTNSName> -T B --host <db host> --port <db port>

5. Start the CA App Experience Analytics service.