Unable to configure an external datasource in CA Identity Suite Virtual Appliance (vApp)

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

While trying to configure an external database access for the Identity Suite virtual appliance, we have created a MyDS.properties file.

When using the command "addJBossDatasource MyDS.properties", we get the following error: ")RROR] the parameter "IMAG_PACKAGE" set in the file "/opt/CA/VirtualAppliance/custom/IdentityManager/dataSources/MyDS.properties" is invalid ("IM

 

IMAG_PACKAGE=IM
DB_TYPE=MSSQL
DATASOURCE_NAME=-TESTIAM-IDM
DB_URL=jdbc:sqlserver://<host>:<port>
DB_USER=nosuchuser
DB_PASSWORD=nosuchpassword

Environment:
CA Identity Suite, Virtual Appliance Version 14.x
Cause:

The error is usually related to white spaces in the custom file used.

Resolution:

1. Check for any white spaces which could be causing the file not be read properly

2. Try creating a new file and see whether problem persists.

3. Run the following command

dos2unix /opt/CA/VirtualAppliance/custom/IdentityManager/dataSources/MyDS.properties
before trying to use addJBossDatasourceagain

Additional Information:

https://docops.ca.com/ca-identity-suite/14-1/EN/configuring/configuring-ca-identity-suite-virtual-appliance