Support Article
Error occurs when installing Pega application on JBoss
Summary
When installing the Pega application on JBoss 'pega-platform-82-install-jboss-mssql' (according to the Pega Installation Guide), the sqljdbc.jar must be included in the module.xml. However, the sqljdbc is not retrieved from that location.
Error Messages
[org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "PegaRULES")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.jdbc-driver.mssql"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"org.wildfly.data-source.PegaRULES is missing [jboss.jdbc-driver.mssql]",
"jboss.driver-demander.java:/jdbc/PegaRULES is missing [jboss.jdbc-driver.mssql]"
]
}
ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "AdminPegaRULES")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.jdbc-driver.mssql"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.driver-demander.java:/jdbc/AdminPegaRULES is missing [jboss.jdbc-driver.mssql]",
"org.wildfly.data-source.AdminPegaRULES is missing [jboss.jdbc-driver.mssql]"
]
}
ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "PegaRULES")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.jdbc-driver.mssql",
"jboss.jdbc-driver.mssql"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"org.wildfly.data-source.PegaRULES is missing [jboss.jdbc-driver.mssql]",
"jboss.driver-demander.java:/jdbc/PegaRULES is missing [jboss.jdbc-driver.mssql]",
"org.wildfly.data-source.PegaRULES is missing [jboss.jdbc-driver.mssql]"
]
}
ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "AdminPegaRULES")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.jdbc-driver.mssql",
"jboss.jdbc-driver.mssql"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.driver-demander.java:/jdbc/AdminPegaRULES is missing [jboss.jdbc-driver.mssql]",
"org.wildfly.data-source.AdminPegaRULES is missing [jboss.jdbc-driver.mssql]", "org.wildfly.data-source.AdminPegaRULES is missing [jboss.jdbc-driver.mssql]"
]
}
Steps to Reproduce
- Create a database in MSSQL.
- Configure and run Pega Platform 8.2.1.
- Configure the standalone.xml (according to the Pega Installation Guide).
- Configure the domain.xml.
Root Cause
The module.xml was not updated.
Resolution
Perform the following local-change:
Modify the module.xml as below:
<module name="javax.xml.bind.api"/>
After adding the class, module.xml is as below:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="com.Microsoft">
<properties>
<property name="jboss.api" value="unsupported"/>
</properties>
<resources>
<resource-root path="sqljdbc42.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.xml.bind.api"/>
<module name="javax.transaction.api"/>
<module name>="javax.servlet.api" optional="true"/>
</dependencies>
For more informtion, refer to: https://community.pega.com/support/support-articles/error-while-deploying-application-jboss-eap-70
Published April 14, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.