Support Article
Error while deploying Pega 7 on JBoss 6.2
SA-9959
Summary
User gets an error when deploying Pega 7 on JBoss 6.2 application server.
Error Messages
03:33:47,889 ERROR [org.jboss.as.server] (management-handler-thread - 1) JBAS015870: Deploy of deployment "prpc_j2ee14_jboss61JBM.ear" was rolled back with the following failure message:
{"JBAS014771: Services with missing/unavailable dependencies" => [
"jboss.naming.context.java.comp.prpc_j2ee14_jboss61JBM.prbeans.EngineBMT.env.url.profiling.tracefile is missing [jboss.naming.context.java.url.pega.none]",
"jboss.naming.context.java.comp.prpc_j2ee14_jboss61JBM.prbeans.EngineCMT.env.url.\"pegarules.keyring\" is missing [jboss.naming.context.java.url.pega.none]",
"jboss.naming.context.java.comp.prpc_j2ee14_jboss61JBM.prbeans.EngineBMT.env.url.compiler.externalclassesdir is missing [jboss.naming.context.java.url.pega.none]",
....
Steps to Reproduce
1. Connect it to the right DB Connection – current application is connected to xxxxx. You must connect to xxxx DB.
2. Create directory: mkdir /apps/jboss/support/temp/pegatemp/DEV_CELL_CSCM6.2_LN_01
3. Update standalone.conf file:
-Dpega.home=/apps/jboss/servers/DEV_CELL_CSCM6.2_LN_01/standalone/deployments/prpc_j2ee14_jboss61JBM.ear
-Dpega.tmpdir=/apps/jboss/support/temp/pegatemp/DEV_CELL_CSCM6.2_LN_01
4. Copy the updated ear from /tmp/PEGA7_deployment and redeploy the same.
Root Cause
The reported error message corresponds to a missing entry “<simple name="java:/url/pega/none" value="file:/nul" />” in your standalone.xml file which was causing the missing dependencies issue.
Resolution
This issue is resolved by making the following change to the operating environment:
Add the below entry as per the Pega 7.1.7 Installation guide in the users standalone.xml file.
<simple name="java:/url/pega/none" value="file:/nul" />
Published June 12, 2015 - 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.