Configure Properties Files in WAR Files for Identity - JBoss
Volt MX Foundry Console setup consists of configuring properties files in the .war files such as accountsAPI.war, authService.war, mbaasportal.war
, and workspaceService.war
. For more details, refer to VoltMX Foundry Topology and Components.
Important: The field names in the properties files of the following
.WAR
files are the same for all app servers. You must configure the values in the fields based on your app servers.
authService.war
To configure properties files in the authService.war file, follow these steps:
- In the
authService.war`/WEB-INF/classes`
, open theauthService.properties
file, and then edit the following parameters.
#Database parameters
RDS_DB_TYPE=<Database Type>
RDS_HOSTNAME=<Dataserver IP/Hostname>
RDS_PORT=<Database port>
AUTH_GLOBAL_DBNAME=<VoltMX identity service global database name>
AUTH_CONFIG_DBNAME=<VoltMX identity service configuration database name>
MAX_ACTIVE_DBC=20
AUTH_GLOBAL_DB_MAX_ACTIVE_DBC=5
#General auth parameters
APPSERVER_TYPE=<Application server type>
LOG_LEVEL=INFO
LOG_OPTION=logfile
LOG_LOCATION=<USER_INSTALL_DIR>/logs
ADMIN_USERSTORE_PROVIDER=AUTH
#add the following property only for Oracle
TXN_ISOLATION_LEVEL=2
-
In the
authService.properties
file, configure the following properties with proper values, shown below:- RDS_DB_TYPE=
. For example, RDS_DB_TYPE=MySQL, MSSQL, ORACLE, or MariaDB - APPSERVER_TYPE=
. For example, APPSERVER_TYPE= JBOSS
Important: Enter the appropriate path for LOG_LOCATION=
.
For example:
- For Windows:
- For Linux: - RDS_DB_TYPE=
-
In the
WEB-INF/classes
, edit theauthservice.key
file, shown below:
```
master_key=<Any Random GUID>
master_key_id=<Any Random GUID>
```