000034482 - Unable to save connector error for Java Code Based Connector (JCBC) in RSA Identity Governance and Lifecycle

Document created by RSA Customer Support Employee on Jan 5, 2017Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000034482
Applies ToRSA Product Set: RSA Identity Governance and Lifecycle
 
IssueAfter importing a .jar file for a Java Code Base Connector (JCBC), the following error occurs while saving the changes:
 
Unable to Save Connector

 
User-added image

The aveksaServer.log has an “Unable to save entity - Connector” error as shown below:
com.aveksa.afx.server.service.AFXConnectorServiceProvider] Unable to save entity - Connector: Id[7];
Name[JavaTest]; DisplayName[JavaTest]; Description[];
Unable to delete File Specs [FileSpec: Id[218]; Name[ojdbc6-new.jar]; DisplayName[ojdbc6-new.jar];
Description[ojdbc6-new.jar_description]];
Caused by: ORA-00001: unique constraint (AVUSER.U_AFX_FILE_NAME_VERSION) violated com.aveksa.server.db.PersistenceException: insert into
T_AV_AFX_FILE (CHECKSUM, CONTENT, DESCRIPTION, DISPLAY_NAME, NAME, IS_SUPPLIED, VERSION, ID) values (?, ?, ?, ?, ?, ?, ?, ?) at
com.aveksa.server.db.persistence.PersistenceServiceProvider.commitTransaction(PersistenceServiceProvider.java:2616)

CauseThis error occurs when:
  • A third party .jar is already present in the RSA Identity Governance and Lifecycle product classpath
  • A third party .jar is being uploaded
  • Someone attempted to save the JCBC connector configuration.
In the above example, a third party .jar  called 'mysql-connector-java-5.1.36-bin.jar' was already present in the classpath along with other RSA Identity Governance and Lifecycle product libraries.  Due to a loaded duplicate .jar, the error occurred.

 
ResolutionThis error can be avoided by renaming the third party .jar to avoid a file name conflict.
For example, in the above case, rename the file to some other name like mysql-connector-java-5.1.36-bin_test.jar, upload it again and save the connector to move forward.

Attachments

    Outcomes