Increase JMS Adapter Max Capacity
When increasing the number of managed servers in Oracle SOA Suite/Service Bus where JMS queues are widely used, it is important to take note of the max capacity of the JMS Adapter.
The issue below happened after adding more managed servers, persistent file stores and JMS servers in the OSB Domain:
1
javax.resource.spi.ApplicationServerInternalException: Unable to get a connection for pool = "eis/wls/Queue", weblogic.common.resourcepool.ResourceLimitException: Configured maximum limit of (0) on number of threads allowed to wait for a resource reached for pool eis/wls/Queue
We needed to increase the Max Capacity of the JMS Adapter, where eis/wls/Queue
resides.
- Log in to WebLogic Administration Console
- Go to Deployments
- Click JmsAdapter
- Click Configuration tab
- Click Outbound Connection Pools sub-tab
- Expand the oracle.tip.adapter.jms.IJmsConnectionFactory and click
eis/wls/Queue
- Click Connection Pool tab
- Click Lock and Edit to start a change session
- Update the Max Capacity. Recommended value is above 400 per 4 managed servers. Since we have increased the managed server count from 8 to 16, we started with 500 * 4 = 2000
- Update the JmsAdapter Deployment with the updated deployment plan
- Activate changes made in the session
- Restart managed servers
Make sure to check if the exact error is encountered in your case. Take note of the existing configuration prior to updating them.
This post is licensed under CC BY 4.0 by the author.