Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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:

Code Block
languagexml

...

<?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>