IBM Support

DB2 error SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 68 when administering Portal

Technote (troubleshooting)


While performing an administrative task in WebSphere Portal (either with XMLAccess, thru the Portal Adminstration Pages, or a WPSconfig/ConfigEngine script), a DB2 exception with SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 68 appears.


The exception will resemble the following (taken from an XMLAccess script):

<request xmlns:xsi=""
build="wp6011_072" type="update" version=""
<status element="[content-node Content.Root.Document_Management
uniquename=ibm.portal.Document Management]" result="failed">
EJPXA0043E: An error occurred while creating or updating the resource.
[content-node Content.Root.Document_Management
uniquename=ibm.portal.Document Management]</message>
<message id="EJPDB0072E">
EJPDB0072E: Error during cleanup cycle [cycle for component
<message id="EJPDB0099E">
EJPDB0099E: Error occurred during database access. Last SQL statement
is [SELECT count(*) FROM release.COMP_INST WHERE (PORT_INST_OID = ?)].
Transaction has status [STATUS_ACTIVE], global ID
3100000001] and local ID [322].</message>
<message> DB2 SQL error:
SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 68</message>


The DB2 exception SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 68 means that the transaction has rolled back due to a lock timeout.

This can happen if the Portal datasources have been configured to be 'unshared'. Portal requires that the datasources be 'shared' and it is unsupported to configure them otherwise.

To check to see if your datasources are configured to be unshared, you can follow these steps:

1. Login to the WebSphere Application Server administration console
2. Navigate to Resources -> JDBC -> Data Sources
3. Click the link for the RELEASE datasource
4. Navigate to Connection Pool Properties -> Connection Pool Custom Properties
5. If the following properties are set, then your datasource is configured to be unshared:

globalConnectionTypeOverride value="unshared"
defaultConnectionTypeOverride value="unshared"

Resolving the problem

To resolve the issue, remove the 'globalConnectionTypeOverride' and 'defaultConnectionTypeOverride' properties from the Connection Pool properties, restart the WebSphere_Portal server, and attempt your task again.

Cross reference information
Segment Product Component Platform Version Edition
Organizational Productivity- Portals & Collaboration WebSphere Portal AIX, HP-UX, IBM i, Linux, Solaris, Windows, z/OS 7.0, 6.1

Document information

More support for: WebSphere Portal
Installation & Configuration

Software version: 8.0, 8.5

Operating system(s): AIX, IBM i, Linux, Solaris, Windows

Reference #: 1440972

Modified date: 29 July 2016

Translate this page: