You could have observed the below exception frequently in the weblogic
server log file, weblogic server throws the below exception when there
is not enough database connections in the pool to serve the incoming
requests reporting increasing the connection pool count. This will
affect the overall system performance
java.sql.SQLException: Internal error: Cannot obtain XAConnection weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool SOADataSource to allocate to applications, please increase the size of the pool and retry.. at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:577) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:342) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:329) at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:417) at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:324) The above exception is due to there is not enough connections available in the pool to service the requests. To identify which datasource / connection pool requires more connection do the following.
(This screen shot taken by reducing the max capacity to 5 for blogging purpose, unfortunately I did not captured the actual screen shot) If the connection pool count is not increased with respect to the invoker thread count, then it will cause this kind of contention cause lot of calls to be waiting for connection.
Solution
to the above problem is to increase the number of connections in the connection
pool.
Steps:
|
Sunday, December 16, 2012
ResourceLimitException : No resources currently available in pool to allocate to applications – Oracle SOA 11g
########
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment