Please can you help me to resolve this issue that I was working on since a week and no solution yet :(-
I have a same scenario, would like to run single MDB instance at a time. I did setup max pool-size is 1, still my MDB creating multiple instances at the same time. Here is my sun-ejb-jar.xml. Let me know if I need to setup same in some other places??? appreciate your time on this.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1 EJB 2.1//EN" "
http://www.sun.com/software/appserver/dtds/sun-ejb-jar_2_1-1.dtd">
<sun-ejb-jar>
<enterprise-beans>
<name>MultiJMS-ejb</name>
<ejb>
<ejb-name>ReplyMsgBean</ejb-name>
<jndi-name>jms/PhysicalQueueName</jndi-name>
<mdb-connection-factory>
<jndi-name>jms/ConnectionFactory</jndi-name>
</mdb-connection-factory>
<bean-pool>
<steady-pool-size>1</steady-pool-size>
<resize-quantity>1</resize-quantity>
<max-pool-size>1</max-pool-size>
<pool-idle-timeout-in-seconds>6000</pool-idle-timeout-in-seconds>
</bean-pool>
</ejb>
</enterprise-beans>
</sun-ejb-jar>
thanks
[Message sent by forum member 'banther' (banther)]
http://forums.java.net/jive/thread.jspa?messageID=295389