No Audit data Extracted when the SAP Audit database is on a Sybase/SQL Anywhere server.

No Audit data Extracted when the SAP Audit database is on a Sybase/SQL Anywhere server.

Environment

  • Product version(s): All current 360Suite versions

  • Third-party technology: SAP Audit database hosted on Sybase / SQL Anywhere

  • Database: Sybase / SQL Anywhere

Symptoms

  • A job run with Audit data extraction enabled, where the SAP Audit database is hosted on a Sybase/SQL Anywhere server, completes with no action: the SQL query executed by the job returns 0 rows.

  • Running the exact same SQL query manually from SQL Anywhere's SQL Central tool works as expected and returns data.

Steps to Reproduce

  1. Configure a job with Audit data extraction enabled, targeting an SAP Audit database hosted on Sybase/SQL Anywhere.

  2. Run the job.

  3. Observe that the job completes with no action and the underlying SQL query returns 0 rows.

Cause

  • Context: This issue occurs when the JDBC driver used to connect to the Sybase/SQL Anywhere database is outdated or incorrect.

  • Technical explanation: The incorrect/outdated JDBC driver is located in the /libs folder of the 360Suite Tomcat.

Resolution

Follow the steps below to update the JDBC driver.

Warning
Warning: Stopping the 360Suite Tomcat service will interrupt all running jobs. Schedule this operation outside business hours or during a maintenance window.

Option 1: Permanent Fix

  1. Stop the 360Suite Tomcat.

  2. Delete the existing jconn4.jar from the /libs folder.

  3. Copy the approved jconn4.jar file into the /libs folder. The approved driver (jconn4_APPROVED.zip) is attached to this article.

  4. Start the 360Suite Tomcat.

  5. Rerun the job.

Additional Information

Info
Why: Ensure that a correct JDBC URL string is used when connecting to the Sybase database: jdbc:sybase:Tds:<host_address>:<port_number>/<database_name>
  • If the issue persists after updating the driver, contact support with your 360Suite logs, the JDBC URL used, and the steps you followed in this article.