It is possible to configure an External DataSource in the vAPP using a properties file in the format below
IMAG_PACKAGE=IP or IM
DB_TYPE=MSSQL or ORACLE
DATASOURCE_NAME=my-ds
DB_URL=jdbc:sqlserver://<host>:<port>
or
jdbc:sqlserver://<host>:<port>\;DatabaseName=<database name>
or
jdbc:oracle:thin:@<host>:<port>:<sid>
or
jdbc:oracle:thin:@//<host>:<port/<service name>
DB_USER=<username>
DB_PASSWORD=<password>
However, when executing the command addJBossDatasource <DS FILE NAME> to deploy the data source it can fail with the error.
[ERROR] the parameter "IMAG_PACKAGE" set in the file <DS FILE NAME> is invalid ("IM
Example:
[ERROR] the parameter "IMAG_PACKAGE" set in the file "/opt/CA/VirtualAppliance/custom/IdentityManager/dataSources/database.txt" is invalid ("IM
Check https://knowledge.broadcom.com/external/article?articleId=9277 if above one didn't work.