Troubleshooting
Problem
If the VMM configuration contains an invalid database repository definition and if security is configured as a federated repository, IBM WebSphere Portal will not start.
Symptom
Sample output from the SystemOut.log:
UserRegistryI E SECJ0331E: The registry implementation file com.ibm.ws.wim.registry.WIMUserRegistry cannot be initialized because of the following exception com.ibm.websphere.wim.exception.WIMSystemException: CWWIM1999E An exception occurred during processing: CWWIM1999E An exception occurred during processing: null
- at
...
Caused by: com.ibm.websphere.wim.exception.WIMSystemException: CWWIM1999E An exception occurred during processing: null
- at
...
Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
- at
...
Cause
This problem has been observed when the wp-create-db task fails and the invalid database repository definition is not removed from the wimconfig.xml file. The failed startup can be associated with a variety of SQL-related exceptions.
Resolving The Problem
Verify the database repository definitions in the <wp_profile>/config/cells/<cell name>/wim/config/wimconfig.xml file.
If a database repository definition was added as a result of a failed wp-create-db task, remove it, synchronize the security configuration if clustered, and restart WebSphere Portal. The results of the wp-create-db tasks can be found in the <wp_profile>/ConfigEngine/log/ConfigTrace.log
Back up the wimconfig.xml file before editing it. Database repository definitions in wimconfig.xml are of the following form:
<config:repositories xsi:type="config:DatabaseRepositoryType" adapterClassName="com.ibm.ws.wim.adapter.db.DBAdapter" id=... />
Was this topic helpful?
Document Information
Modified date:
03 December 2021
UID
swg21381287