Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Multiple JMS connections are open

SA-77844

Summary



Multiple JMS connections are open despite selecting the 'Close After Response' option as the Requestor option in the JMS Service's Response tab.


Error Messages



Not Applicable


Steps to Reproduce



Unknown


Root Cause



The connections are accumulated at the server startup and are not closed due to the prefill, initial pool size configurations under the Resource-adapter configuration in the JBOSS application server's standalone-full.xml.


Resolution



Perform the following local-change:

Remove the prefill, initial-pool-size configuration from the resource adapter:

Modify the below code, 

<xa-pool>
<min-pool-size>1</min-pool-size>
<initial-pool-size>10</initial-pool-size>
<max-pool-size>50</max-pool-size>
<prefill>true</prefill>
</xa-pool>

to,

<xa-pool>
<max-pool-size>50</max-pool-size>
</xa-pool>


BEFORE:                                                                              AFTER:
 

Published August 15, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us