000035639 - Java-based connector reports NoClassDefFoundError in RSA Identity Governance and Lifecycle

Document created by RSA Customer Support Employee on Nov 1, 2017
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000035639
Applies ToRSA Product Set: RSA Identity Governance and Lifecycle
RSA Product/Service Type: AFX
RSA Version/Condition: 7.0.2
 
Issue

When attempting to create a new Java-based AFX Connector, the UI spins with "Processing Data", and the WildFly server reports the following error.



ERROR [io.undertow.request] (default task-7) UT005023: Exception handling request to /aveksa/main: java.lang.NoClassDefFoundError: org/hibernate/service/jdbc/connections/spi/MultiTenantConnectionProvider

No errors are reported in the aveksaServer.log, and the AFX logs are not yet created for the connector.

STEPS TO REPRODUCE:


  1. (UI Menu) AFX > Connectors > Create Connector (button).
  2. Click on the Create Connector General tab, and enter the required fields.

Name*: mysql-connector-java-5.1.42-bin (for example)
Server*: AFX Server
Connector Template* : Java Code Based


  1. Click on the Settings tab, then click on the Upload JAR (button), click on the Browse (button), select file: mysql-connector-java-5.1.42-bin.jar, then click on the Open (button).
  2. Click OK
  3. The "Processing Data" pop-up appears, but it just sits there and does not return control to the user.
The issue does not occur in version 7.0.0.
CauseThis issue is caused by not all classes of the .JAR file being loaded, if the .JAR file is an implementation JAR, 
as per Defect ACM-76887 - Creating a Java-based AFX Connector in 7.0.2 gets java.lang.NoClassDefFoundError: org/hibernate/service/jdbc/connections/spi/MultiTenantConnectionProvider
ResolutionA new afx-common.jar file is available from version 7.0.2 P02, or by contacting RSA Support to obtain the the new afx-common.jar file from defect ACM-76887.

Attachments

    Outcomes