Question
Error while deploying MDB listener
After updating ejb-jar.xml and ibm-ejb-jar-bnd.xmi with MDB listener details, and while deplolying ear file getting below exception. Ear file is not getting deployed.
--- 2. PEGAJUP1SITC1_PRPC_j2ee14 : setModuleMappings
setModuleMappings: Entering...
WASX7017E: Exception received while running file "/app/WebSphere/AutoAppDeploy/EISAutoAppDeploy.py"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7280E: An application with name "PEGAJUP1SITC1_PRPC_j2ee14" does not exist.
there were 2 warnings:
Validating
[*Warning] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: CaseMgmtEventListener): CHKJ2876W: Missing JNDI name for ejb reference CaseMgmtEventListener : ejb/EngineBMTLocal
[*Warning] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: CaseMgmtEventListener): CHKJ2876W: Missing JNDI name for ejb reference CaseMgmtEventListener : ejb/EngineCMTLocal
What is the issue and why this error?
What pega version are you using? You are using the old way of manually editing files, error prone. For pega 7, use the link: https://pdn.pega.com/deploying-jms-message-driven-bean-mdb-represents-jms-mdb-listener-pega-7.