users@glassfish.java.net

Re: Limit MDB pool size to 1

From: <forums_at_java.net>
Date: Fri, 8 Apr 2011 08:04:46 -0500 (CDT)

Can you try this glassfish-ejb-jar.xml (in WEB-INF/ the same directory as
your web.xml)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glassfish-ejb-jar PUBLIC "-//GlassFish.org//DTD GlassFish
Application Server 3.1 EJB 3.1//EN"
"http://glassfish.org/dtds/glassfish-ejb-jar_3_1-1.dtd">
<glassfish-ejb-jar>
<enterprise-beans>
<ejb>
      <ejb-name>MyQueueListener</ejb-name>
      <jndi-name>jms/MyQueue</jndi-name>

</ejb>

<property>
      <name>singleton-bean-pool</name>
      <value>true</value>
    </property>
</enterprise-beans>
</glassfish-ejb-jar>

If that still fails, can you attach a test app?


--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/788267