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>