Question

3
Replies
195
Views
Mohamed Raffie Sheik Ameer (RAFFIE)
Trident Consulting
Lead System Architect
Trident Consulting
US
RAFFIE Member since 2012 8 posts
Trident Consulting
Posted: July 25, 2017
Last activity: September 5, 2017
Posted: 25 Jul 2017 12:37 EDT
Last activity: 5 Sep 2017 11:10 EDT
Closed
Solved

Error while configuring Listener at EAP 6.4

Hello,
I have handfull of Queue's and their corresponding QCF's available at the EAP ear file. No issues with that.
In addition to this, i am planning to add Listener to it and i added the below entry to the prbeans.jar and its failing..
<!-- MDB>
<message-driven id="MessageDriven_ILossResponseListener">
<description>Message Driven Bean for JMS Listener ILossResponseListener</description>
<ejb-name>ILossResponseListener</ejb-name>
<ejb-class>com.pega.pegarules.internal.etier.mdb.PRJMSListenerBoot</ejb-class>
<transaction-type>Container</transaction-type>
<message-driven-destination id="MessageDrivenDestination_ILossResponseListener">
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
<env-entry>
<env-entry-name>PRListener</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>ILossResponseListener</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>UseCMT</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>false</env-entry-value>
</env-entry>
<ejb-local-ref id="EJBLocalRef_ILossResponseListener_EngineBMTLocal">
<description />
<ejb-ref-name>ejb/EngineBMTLocal</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.pega.pegarules.internal.etier.interfaces.EngineLocalHome</local-home>
<local>com.pega.pegarules.internal.etier.interfaces.EngineLocal</local>
<ejb-link>EngineBMT</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_ILossResponseListener_EngineCMTLocal">
<description />
<ejb-ref-name>ejb/EngineCMTLocal</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.pega.pegarules.internal.etier.interfaces.EngineLocalHome</local-home>
<local>com.pega.pegarules.internal.etier.interfaces.EngineLocal</local>
<ejb-link>EngineCMT</ejb-link>
</ejb-local-ref>
</message-driven>
<!-- Response Listener Start -->
<container-transaction>
<method>
<ejb-name>ILossResponseListener</ejb-name>
<method-name>onMessage</method-name>
<method-params>
<method-param>javax.jms.Message</method-param>
</method-params>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>

Error:

Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014185: Exception while parsing ejb-jar.xml: /content/JBOSS_OC_PRPC7.1.6.ear/prbeans.jar/META-INF/ejb-jar.xml

Data Integration System Administration Installation and Deployment
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.