Import of AFX Connectors fails with 'Connector Install Failure' in RSA Identity Governance & Lifecycle
4 years ago
Originally Published: 2016-08-09
Article Number
000043869
Applies To
RSA Product Set: Identity Governance & Lifecycle 
RSA Version/Condition: 6.8.x, 6.9.1, 7.0.x, 7.1.x
Issue
When importing an AFX connector package from another system, the import fails with:
 
Connector Install Failure
 
User-added image

The aveksaServer.log has the following error:
 
11/05/2019 17:46:31.795 INFO  (default task-29) [com.aveksa.afx.common.packagemgmt.connector.ConnectorInstaller] 
Persisting components to database : Connector-with-same-name
11/05/2019 17:46:31.903 ERROR (default task-29) [com.aveksa.afx.common.packagemgmt.connector.ConnectorInstaller] 
Cannot_Write_To_Database
java.lang.IllegalArgumentException: Connector_Type_Does_Not_Match AirWatch_7258413449583920868
        at 
org.apache.commons.lang3.Validate.isTrue(Validate.java:156)
        at 
com.aveksa.afx.common.packagemgmt.connector.ConnectorInstaller.saveConnector(ConnectorInstaller.java:949)
        at 
com.aveksa.afx.common.packagemgmt.connector.ConnectorInstaller.persistConnector(ConnectorInstaller.java:681)
        at 
com.aveksa.afx.common.packagemgmt.connector.ConnectorInstaller.processArchive(ConnectorInstaller.java:224)
        at 
com.aveksa.afx.common.packagemgmt.connector.ConnectorInstaller.installPackage(ConnectorInstaller.java:64)
        at 
com.aveksa.afx.ui.pages.packagemgmt.install.AFXInstallConnectorWizard.installPackage(AFXInstallConnectorWizard.java:308)

Please refer to RSA Knowledge Base Article 000039327 -- Artifacts to gather in RSA Identity Governance & Lifecycle to find the location of the log files for your specific deployment.
Cause
An AFX connector with the same name already exists on the target server.


To see the connector names in the import file go to AFX > Import > Choose File > {connector zip file} > Next.
 
User-added image
 
To see the connector names on the target server go to AFX > Connectors.

User-added image
 
Resolution
Delete the existing AFX connector with the same name from the target system first, then import the connector package.
  1. Navigate to AFX > Connectors.
  2. Check the Connector with the same name and click Delete.
  3. Go to AFX > Import.
  4. Browse to the AFX connector package and click Next.
  5. Check the connector you want to Import and click Import.