databaseconfig.properties - JBoss EAP 7.x (CTModelHouse)

File Location: <JBoss EAP 7.x Installed folder>\standalone\deployments\ctmodelhouse.war\WEB-INF\lib\CTModelHouseResource.jar\databaseconfig.properties

Configure the values of the parameters as follows:

 CT_FW_DATASOURCE = java:/jboss/datasources/ModelHouseCT 

 DATASOURCE_NAME = java:/jboss/datasources/ModelHouse 


Make sure that the USER_TXN_NAME.JNDIName is given as mentioned in the following snippet: 

USER_TXN_NAME.JNDIName = java:jboss/UserTransaction


After saving the file, make sure that the file is updated within the .jar archive. The file will not get updated in the archive if it is still open after saving it.