Solutions
Archived
Scripted SQL connector in OpenIDM 4.x fails to connect to database with a java.lang.AbstractMethodError
The purpose of this article is to provide assistance if your Scripted SQL connector in OpenIDM fails to connect to the database with a "java.lang.AbstractMethodError".
Archived
This article has been archived and is no longer maintained by ForgeRock.
Symptoms
An error similar to the following is shown in the OpenIDM log when attempting to connect to the database (in this example, a AS400 database):
Mar 8, 2016 11:26:42 AM org.forgerock.openidm.provisioner.openicf.impl.OpenICFProvisionerService init SEVERE: OpenICF connector test of SystemIdentifier{ uri='system/as400/'} failed! java.lang.AbstractMethodError: com.ibm.as400.access.AS400JDBCConnection.isValid(I)ZYet, your provisioner file and script for the connector are correctly configured.
Recent Changes
N/A
Causes
A possible cause is a mis-match in JDBC driver versions, where the version of the JDBC driver in the felix-cache is different to the version in your script.
Solution
This issue can be resolved by deleting the felix-cache:
- Stop the OpenIDM server.
- Delete the contents of the /path/to/openidm/felix-cache directory.
- Check that the driver version in /path/to/openidm/bundle matches the version within your script(s).
- Restart the OpenIDM server.
See Also
Related Training
N/A
Related Issue Tracker IDs
N/A