Hi, 
We are running our application with JBoss 4.2.3 GA with JBM 1.4.0SP3. 
I have just changed my anti pattern ,connection creation code to JmsXA lookup. 
I could see a great performance improvment. 

With default setting i am getting below error. I guess it has something do with 
default max pool size, which is 20. in hajndi-jms-ds.xml 
i.e. <max-pool-size>20</max-pool-size> 


  | 
  |  Could not create a session: javax.resource.ResourceException: No 
ManagedConnections available withi
  | n configured blocking timeout ( 30000 [ms] )
  | javax.jms.JMSException: Could not create a session: 
javax.resource.ResourceException: No ManagedConn
  | ections available within configured blocking timeout ( 30000 [ms] )
  |     at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.ja
  | va:421)
  |     at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.ja
  | va:145)
  |     at 
com.alservices.imaging.export.process.util.AuditUtil.setjobDocResource(AuditUtil.java:281)
  |      
  | 
I have increased it max-pool-size and i could reduce frequency of above error. 
Our application does a heavy usage of messaging. 
I have two basic question 
1) Above error is because of low pool size ? 
if Yes , what is the max. limit for max.pool.size 
2) If above error is not because of pool size , what could be other reason ? 

Any pointer to this ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201640#4201640

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201640
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to