When running Web Intelligence (WebI) jobs in SAP BusinessObjects connected to a SQL Anywhere (Sybase) audit database, the job may fail with the following error:
JZ0C0: Connection already closed.
This results in WebI job crashes and interruptions in auditing or reporting processes.
This issue occurs because the Sybase JDBC driver automatically closes idle connections.
If a WebI job or auditing service leaves the JDBC connection inactive for too long, the driver terminates the connection, resulting in the "Connection already closed" error.
To prevent the JDBC connection from closing due to inactivity, add the parameter &Idle=0 to the JDBC connection URL.
This disables the client-side idle timeout, ensuring the connection stays open.
jdbc:sybase:Tds:apollon:2638?ServiceName=BI4_Audit&Idle=0
Log in to the SAP BusinessObjects Central Management Console (CMC).
Navigate to Auditing → Configure Audit Database.
Edit the JDBC connection URL by adding &Idle=0 at the end.
Save the changes.
Restart the required services if needed.
SAP BusinessObjects BI Platform using SQL Anywhere (Sybase) for the Audit database