SAP Knowledge Base Article - Preview

2917402 - jConnect: Wrong error message displayed JZ0C0: Connection is already closed instead - SDK for SAP ASE

Symptom

Error message is not displayed, instead this is seen:
java.sql.SQLException: JZ006: Caught IOException: com.sybase.jdbc4.jdbc.SybConnectionDeadException: JZ0C0: Connection is already closed.
        at com.sybase.jdbc4.jdbc.ErrorMessage.createIOEKilledConnEx(ErrorMessage.java:1155)
        at com.sybase.jdbc4.jdbc.ErrorMessage.raiseErrorCheckDead(ErrorMessage.java:1198)
        at com.sybase.jdbc4.tds.Tds.handleIOE(Tds.java:5281)
        at com.sybase.jdbc4.tds.Tds.handleIOE(Tds.java:5226)
        at com.sybase.jdbc4.tds.Tds.cancel(Tds.java:2460)
        at com.sybase.jdbc4.tds.Tds.cancel(Tds.java:2384)
        at com.sybase.jdbc4.jdbc.SybStatement.doCancel(SybStatement.java:1034)


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7 
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • jConnect
    • JDBC 7.07
    • JDBC 16 ( is version JDBC 7.07 )
  • java

Product

SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Software Developer Kit 15.7

Keywords

CR#821529, CR# 821529, CR821529, error, message, warning, handle, java, jconn4.jar , KBA , BC-SYB-SDK , SDK , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.