-
1. Re: how to configure max pool size
ataylor Jan 26, 2012 2:49 AM (in response to mandarbk)Those are settings on the MDB not the RA, your better of asking in the AS7 forum
-
2. Re: how to configure max pool size
mandarbk Jan 26, 2012 4:48 AM (in response to ataylor)Hi Andy,
Are you sure? I am not talking about the MDB instance pooling here.
I have following configuration in the XML,
<pooled-connection-factory name="hornetq-ra">
I have a generic publisher that is responsible for sending the JMS messages.The stacktrace indicates that "Unable to get managed connection..." error encounters at the point when publiher invokes connectionFactory.getConnection()....
-
3. Re: how to configure max pool size
ataylor Jan 26, 2012 5:59 AM (in response to mandarbk)Yes I am sure, I wrote the Resource Adapter . This will probably be part of the ejb3 subsystem.
-
4. Re: how to configure max pool size
ataylor Jan 26, 2012 5:59 AM (in response to ataylor)actually, just by looking at the standalone-full.xml file I can see the following
<pools>
<bean-instance-pools>
<strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
<strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
</bean-instance-pools>
</pools>
-
5. Re: how to configure max pool size
mandarbk Jan 26, 2012 6:39 AM (in response to ataylor)Ok. I am a little bit confused here.
Will this XML configuration control the number of JMS connections being returned from the connectionFactory("java:/jmsXA")?
Or, Will it control the MDB's instance polling ?
-
6. Re: how to configure max pool size
ataylor Jan 26, 2012 7:57 AM (in response to mandarbk)like I say, this is AS stuff, your nbetter of asking in the AS7 forumm this has nothing to do with HornetQ, however I would asume that its for the mdb pool size