Question
3
Replies
211
Views
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.
Show More
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
Show Less