jboss-web.xml - JBoss EAP 7.x (CTModelHouse)

File Location: <JBoss EAP 7.x Installed folder>\standalone\deployments\ctmodelhouse.war \WEB-INF\jboss-web.xml

Make sure that the parameters within the jboss-web.xml are configured as follows:

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE jboss-web PUBLIC "http://www.jboss.org/j2ee/dtd" "jboss-  web_5_0.dtd"> 
<jboss-web>
<context-root>ctmodelhouse</context-root>
<resource-ref> 
<res-ref-name>jdbc/ModelHouse</res-ref-name>
<jndi-name>java:/jboss/datasources/ModelHouse</jndi-name>
</resource-ref> 
<resource-ref>
<res-ref-name>jdbc/ModelHouseCT</res-ref-name> 
<jndi-name>java:/jboss/datasources/ModelHouseCT</jndi-name> </resource-ref> 
</jboss-web>