posted 6 years ago
Hello,
I am trying to deploy the MDBs to weblogic 12c. The "Pool Current Count" shows 0. The messages in the queues are not being consumed by MDBs.
The MDBs are configured the old way (EJB2.0)
weblogic-ejb-jar.xml
<weblogic-enterprise-bean>
<ejb-name>MessagingConsumer</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>25</max-beans-in-free-pool>
<initial-beans-in-free-pool>25</initial-beans-in-free-pool>
</pool>
<destination-jndi-name>jms.queue.MessagingEventQueue</destination-jndi-name>
</message-driven-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>3600</trans-timeout-seconds>
</transaction-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<dispatch-policy>weblogic.wsee.mdb.DispatchPolicy</dispatch-policy>
</weblogic-enterprise-bean>
ejb-jar.xml
<message-driven>
<ejb-name>MessagingConsumer</ejb-name>
<ejb-class>service.jms.MessageDrivenService</ejb-class>
<transaction-type>Container</transaction-type>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
<env-entry>
<env-entry-name>locatorFactorySelector</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>classpath:messaging/beanRefContext.xml</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>locatorFactoryKey</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>messaging.ApplicationContext</env-entry-value>
</env-entry>
</message-driven>
Please let me know if you have any suggestions.
Thanks
Aadil