How to increase the max-pool-size for the Workpoint data source (WPDS) in RSA Identity Governance & Lifecycle
Originally Published: 2015-07-14
Last Modified: 2023-10-06
Article Number
Applies To
RSA Version/Condition: 6.9.1, 7.0.x, 7.1.0
Platform: WildFly
Issue
NOTE: This RSA Knowledge Base Article applies to RSA Identity Governance & Lifecycle versions 7.1.0 and earlier.
The max-pool-size connection setting for the Workpoint data source (WPDS) may be set to 90, which is too low for heavy workflow usage. Engineering recommends a minimum setting of 150. On a system with heavy workflow usage, this value may need to be increased above 150.
Examples of errors that indicate connections need to be increased are as follows:
- These errors are often noticed in the server.log file ($AVEKSA_HOME/wildfly/standalone/log/server.log), if login attempts fail.
==========
2010-06-04 18:02:31,731 ERROR [org.hibernate.util.JDBCExceptionReporter]
No ManagedConnections available within configured blocking timeout ( 10000 [ms] ); -
nested throwable: (javax.resource.ResourceException:
No ManagedConnections available within configured blocking timeout ( 10000 [ms] ))
==========
- In the WorkPoint.log file ($AVEKSA_HOME/wildfly/standalone/log/WorkPoint.log) the following messages may show:
==========
2010-06-04 18:57:44,238 ERROR [STDERR]
Jun 4, 2010 6:57:44 PM com.aveksa.gui.pages.portlet.myTasks.data.MyTasksStore getMyTasksCount
SEVERE:
com.aveksa.server.workflow.WorkflowServiceException:
com.aveksa.server.db.PersistenceException:
org.hibernate.exception.GenericJDBCException: Cannot open connection
at com.aveksa.server.workflow.WorkflowServiceProvider.getWorkflowWorkItemsCount
(WorkflowServiceProvider.java:2092)
==========
Resolution
Steps to modify the Workpoint Data Source (WPDS) max-pool-size
On a standalone (non-clustered) system:
- Log in as user oracle.
- Edit the aveksa-standalone-full.xml file.
$ cd home/oracle/wildfly/standalone/configuration $ vi aveksa-standalone-full.xml
- Change <max-pool-size>90</max-pool-size> to <max-pool-size>150</max-pool-size>.
<xa-datasource jndi-name="java:/jdbc/WPDS" pool-name="WPDS" enabled="true" use-java-context="true" use-ccm="true"> <xa-datasource-property name="URL"> jdbc:oracle:thin:@//localhost:1555/AVDB </xa-datasource-property> <driver>OracleXADriver</driver> <xa-pool> <min-pool-size>10</min-pool-size> <max-pool-size>150</max-pool-size>
- Restart RSA Identity Governance & Lifecycle.
$ acm restart
On a cluster:
- Log in to the domain controller as user oracle.
- Edit the domain.xml file.
$ cd home/oracle/wildfly/domain/configuration $ vi domain.xml
- Change <max-pool-size>90</max-pool-size> to <max-pool-size>150</max-pool-size>.
<xa-datasource jndi-name="java:/jdbc/WPDS" pool-name="WPDS" enabled="true" use-java-context="true" use-ccm="true"> <xa-datasource-property name="URL"> jdbc:oracle:thin:@//localhost:1555/AVDB </xa-datasource-property> <driver>OracleXADriver</driver> <xa-pool> <min-pool-size>10</min-pool-size> <max-pool-size>150</max-pool-size>
- Restart all nodes of the cluster.
SuSE 11 commands
service aveksa_cluster stop service aveksa_cluster start
SuSE 12 commands
systemctl stop aveksa_cluster systemctl start aveksa_cluster
Notes
- Login as user oracle.
- Edit the aveksa-ds.xml file.
$ cd /home/oracle/jboss/server/default/deploy $ vi aveksa-ds.xml
- Change <max-pool-size>90</max-pool-size> to <max-pool-size>150</max-pool-size>:
<xa-datasource>
<jndi-name>jdbc/WPDS</jndi-name>
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
<xa-datasource-property name="URL">jdbc:oracle:thin:@//localhost:1555/avdb</xa-datasource-property>
<!-- Determines whether database exceptions are fatal. Our custom exception sorter delegates
to org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter,
but then marks certain exceptions "fatal" which the default sorter determind to be "non-fatal". -->
<exception-sorter-class-name>com.aveksa.jdbc.OracleExceptionSorter</exception-sorter-class-name>
<no-tx-separate-pools/>
<max-pool-size>150</max-pool-size>
- Restart RSA Identity Governance & Lifecycle
$ acm restart
Related Articles
The number of RSA Via Lifecycle and Governance reviewers in an email list does not match the setting for the "Max Recipien… 54Number of Views RSA Governance & Lifecycle LotusNotes EDC Datasheet 6Number of Views 'UT000047: The number of parameters exceeded the maximum of 1000' error when scheduling collectors in RSA Identity Governa… 106Number of Views RSA Identity Governance and Lifecycle IBM Lotus Notes (Domino) collector does not collect group data. 50Number of Views What maximum number of characters allowed in form control type "Text Area" for use in RSA Identity Governance and Lifecycle 21Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Authentication Manager Security Console and Operations Console Inaccessible After Certificate Update Troubleshooting AFX Connector issues in RSA Identity Governance & Lifecycle RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Governance & Lifecycle 8.0.0 Installation Guide
Don't see what you're looking for?