File Location: <JBoss EAP 7.x Installed folder>\standalone\configuration\standalone.xml
For CTModelHouse, the data sources within this .xml file should be within the <subsystem> element that defines the data sources and the drivers within it.
Note |
---|
Note: If you are deploying the ctmodelhouse.war for the first time through JBoss EAP 7.x, the standalone.xml file will not contain the <subsystem> element corresponding to this .war file to define its data sources. Hence, the coding provided in the following snippet has to replace the existing <subsystem> element that is pointed to the default data source. Then, in the future deployments, the coding is only to be validated for correct configuration. |
Configure the <subsystem> element to define the data sources within the standalone.xml file as follows:
Note |
---|
Note: The <user-name> and <password> elements highlighted in the snippet should match with the database username and password provided for CTModelHouse while executing the DB scripts. |
...