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- |
...
...
<jboss-web>
<context-root>ctmodelhouse</context-root>
<resource-ref>
<res-ref-name>jdbc/ModelHouse</res-ref- |
...
name>
<jndi-name>java:/jboss/datasources/ModelHouse</jndi- |
...
...
ref>
<resource-ref>
<res-ref- |
...
name>jdbc/ModelHouseCT</res-ref- |
...
name>
<jndi-name>java:/jboss/datasources/ModelHouseCT</jndi- |
...
...
...