IBM Support

SKLM: createDBRepos.py fails with  CWWIM4521E The 'DB2 SQL Error: SQLCODE=-601, SQLSTATE=42710

Troubleshooting


Problem

When trying to create a new database repository for SKLM / LDAP integration the createDBRepos.py script used to create the initial database repository fails with
 CWWIM4521E The 'DB2 SQL Error: SQLCODE=-601, SQLSTATE=42710
The below is sampled against SKLM 4.0 but can be seen under any version. 
\IBM\SKLMV40\bin\LDAPIntegration\createDBRepos.py"; exception information: com.ibm.websphere.wim.exception.WIMSystemException: com.ibm.websphere.wim.exception.WIMSystemException: CWWIM4521E The 'DB2 SQL Error: SQLCODE=-601, SQLSTATE=42710, SQLERRMC=SKLMDB40.DBENTITY;TABLE, DRIVER=3.72.52' SQL Exception occurred during processing.
FULL ERROR EXPANDED

C:\Program Files\IBM\WebSphere\AppServer\bin>wsadmin.bat -user wasadmin -password password -lang jython -f "C:\Program Files\IBM\SKLMV40\bin\LDAPIntegration\createDBRepos.py" "C:\Program Files\IBM\WebSphere\AppServer" USERDB40 SKLMDB40 password 50060

WASX7209I: Connected to process "server1" on node SKLMNode using SOAP connector; The type of process is: UnManagedProcess

WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[C:\Program Files\IBM\WebSphere\AppServer, USERDB40, SKLMDB40, password, 50060]"

washome=C:\Program Files\IBM\WebSphere\AppServer

Creating DB Repository Tables in SKLM DB..

WASX7017E: Exception received while running file "C:\Program Files\IBM\SKLMV40\bin\LDAPIntegration\createDBRepos.py"; exception information: com.ibm.websphere.wim.exception.WIMSystemException: com.ibm.websphere.wim.exception.WIMSystemException: CWWIM4521E The 'DB2 SQL Error: SQLCODE=-601, SQLSTATE=42710, SQLERRMC=SKLMDB40.DBENTITY;TABLE, DRIVER=3.72.52' SQL Exception occurred during processing.

Symptom

Creating the Database repository fails with a WIMSystemException error. 

Document Location

Worldwide

[{"Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTJE47","label":"IBM Security Guardium Key Lifecycle Manager"},"ARM Category":[{"code":"a8m0z000000cvdgAAA","label":"SKLM-\u003ECONFIGURATION-\u003ELDAP"}],"ARM Case Number":"TS004622530","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
27 January 2021

UID

ibm16404340