Support Article
JBOSS error when deploying adm7.war file
Summary
The deployment of the adm7.war file is failing with the error shown below.
Error Messages
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.adm7.adm7.env.jdbc.adm7DataSource is missing [jboss.naming.context.java.jboss.java:jdbc.adm7DataSource]"]}}}
Steps to Reproduce
- Add adm7DataSource to standalone.xml.
- Deploy adm7.war file.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
Make sure the jndi name for adm7DataSource defined in standalone.xml matches that in jboss-web.xml.
In this example focus on the jndi-name element:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<resource-ref>
<res-ref-name>jdbc/adm7DataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:/jdbc/adm7DataSource</jndi-name>
</resource-ref>
</jboss-web>
Published June 17, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.