6 Replies Latest reply on Jan 26, 2012 7:57 AM by Andy Taylor

    how to configure max pool size

    Mandar Kulkarni Newbie

      How can I specify min-pool-size and max-pool-size for hornetq resource adapter in JBoss 7 ?


      I can see a 'resoruce-adapter' element in the schema, but looks like it is used only for custom resource adapaters.Since hornetq is integrated as a default JMS provider in JBoss 7, I can not specify the 'archive' element for resource-adapater schema and the archive configuration is madatory.


      At times, I get an exception in the log something like... "Unable to get managed connection within a maximum specified time period". My application is using JMS quite extensively, so I presume that this could be an issue with connection pool getting exhausted. I am still investigating the connection leakage.