When attempting to perform a Data Model scan or create a Connection Profile for a Sybase (SAP ASE) database in TDM Portal, the scan fails. Users may see errors in the TDMModelService.log similar to:
java.lang.ClassNotFoundException: com.sybase.jdbc4.jdbc.SybDriverCould not load JDBC driver class [com.sybase.jdbc4.jdbc.SybDriver]This occurs even if the user has manually added the jconn4.jar to the standard Tomcat library folders.
Product: CA Test Data Manager (TDM) Component: TDM Portal (Web UI) Version: 4.11 and above
There are two primary causes for this behavior in TDM Portal 4.11+:
jconn4.jar) requires additional encryption and support libraries (cryptoj.jar, jTDS3.jar, etc.) to successfully negotiate metadata queries during a scan.\tomcat\jdbc-drivers) for third-party JDBC drivers. Placing JARs in the standard \tomcat\lib folder may result in the driver failing to load or conflicting with the Portal's dynamic loading mechanism.To successfully scan a Sybase database, follow these steps to ensure the correct drivers are present in the correct location:
Acquire the Sybase Driver Package: Obtain the following five JAR files from your Sybase/SAP DBA or the SAP Software Download Center:
jconn4.jarcryptoj.jarcryptojce.jarcryptojcommon.jarjTDS3.jarDeploy to TDM Portal: Copy all five files into the following directory on the TDM Portal server: C:\Program Files\CA\CA Test Data Manager Portal\tomcat\jdbc-drivers
Cleanup: If you previously placed jconn4.jar in C:\Program Files\CA\CA Test Data Manager Portal\tomcat\lib or ...\orientdb\lib, remove them to prevent classloader conflicts.
Restart Services: Restart the CA Test Data Manager Portal service from the Windows Services console.
Validation: