Support Article
Unable to get managed connection for eis/PRAdapterCF
SA-10694
Summary
Error observed in JBOSS logs.
Unable to get managed connection for eis/PRAdapterCF
Error Messages
00:17:41,662 INFO [STDOUT] 2015-05-30 00:17:41,662 [ WorkManager(2)-74] [ STANDARD] [ PegaRULES:06.02] ( pegarules.resadap.RAClient) ERROR - Caught exception while creating Connection, javax.resource.ResourceException: Unable to get managed connection for eis/PRAdapterCF
00:17:41,675 SEVERE [PRBootstrap] Problem during method invocation (invokeEngine)
java.lang.NullPointerException
at com.pega.pegarules.session.internal.async.BatchUtils.callRAClient(BatchUtils.java:150)
at com.pega.pegarules.session.internal.async.agent.PRTimer.schedule(PRTimer.java:154)
at com.pega.pegarules.session.internal.async.agent.PRTimer.schedule(PRTimer.java:128)
Steps to Reproduce
There is no specific use case to reproduce this issue.
Root Cause
The root cause of this problem is in a third-party product. Connection pool for eis/PRAdapterCF is exausted.
Resolution
This issue is resolved by making the following change to the operating environment:
In JBOSS_HOME/server/<SERVER_NAME>/deploy/prpc_j2ee_jbossJBM.ear/META-INF/jboss/jboss-pradapter-ds.xml (change in the EAR before deployment tool)
Increase the max-pool-size to 100.
<connection-factories>
<no-tx-connection-factory>
<jndi-name>eis/PRAdapterCF</jndi-name>
<rar-name>prpc_j2ee14_jbossJBM.ear#pradapter.rar</rar-name>
<!--connection-definition>javax.resource.cci.ConnectionFactory</connection-definition-->
<connection-definition>com.pega.pegarules.internal.etier.interfaces.PRRAConnectionFactory</connection-definition>
<max-pool-size>100</max-pool-size>
</no-tx-connection-factory>
Published June 26, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.