JMS Max-Instances/Min-Instances

(Doc ID 568910.1)

Last updated on MARCH 23, 2012

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.3.0 and later   [Release: AS10gR3 and later ]
Oracle Containers for J2EE - Version: 10.1.3.3.0 and later    [Release: AS10gR3 and later]
Information in this document applies to any platform.
***Checked for relevance on 23-Mar-2012***

Symptoms

You need to see that at any instance of time there should min of 5 MDB instances ready and
listening to a external JMS Tibco queue.

You tried to set max-instances="10" min-instances="5" for the message driven bean deployment in
orion-ejb-jar.xml - but still seems to instiate only one activeBean.

Orion-ejb-jar.xml
+++++++++++++
<message-driven-deployment
name="MessageDrivenEJB1"
resource-adapter="TibcoJMSRAInstanceName">
<resource-ref-mapping name = "jms/queueConnectionFactory" location = "TibcoJMSRASubcontext/MyQCF"
max-instances="10" min-instances="5"/> <!-- don't misspell this or you'll get an RP CF
which doesn't work -->
<config-property>
<config-property-name>ConnectionFactoryJndiName</config-property-name>
<config-property-value>TibcoJMSRASubcontext/MyQCF</config-property-value>
</config-property>
<config-property>
<config-property-name>DestinationName</config-property-name>
<config-property-value>TibcoJMSRASubcontext/MyCCQ</config-property-value>
</config-property>
<config-property>
<config-property-name>DestinationType</config-property-name>
<config-property-value>javax.jms.Queue</config-property-value>
</config-property>
<config-property>
<config-property-name>ListenerThreadMaxPollInterval</config-property-name>
<config-property-value>250</config-property-value>
</config-property>
</message-driven-deployment>


How do we get see that there are always 5 minmum instances ready?

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms