SAP Knowledge Base Article - Preview

2663044 - jConnect fails to connect to ASE using debug jar with ASSERTION TDS token should be PARAMFMT (236), instead it is 32 - SDK for SAP ASE

Symptom

Using jconn4d.jar a jConnect application cannot connect to ASE database with error message:

java.lang.RuntimeException: ASSERTION: [TDS token should be PARAMFMT (236), instead it is 32] on class com.sybase.jdbc4.tds.SecLoginContext failed in thread main.
at com.sybase.jdbc4.jdbc.ErrorMessage.raiseRuntimeException(ErrorMessage.java:1299)
at com.sybase.jdbc4.utils.Debug.asrt(Debug.java:496)
at com.sybase.jdbc4.tds.SecLoginContext.extractServerPublicKey(SecLoginContext.java:158)
at com.sybase.jdbc4.tds.Tds.processLoginAckToken(Tds.java:5447)
at com.sybase.jdbc4.tds.Tds.doLogin(Tds.java:725)
at com.sybase.jdbc4.tds.Tds.login(Tds.java:579)
at com.sybase.jdbc4.jdbc.SybConnection.tryLogin(SybConnection.java:528)
at com.sybase.jdbc4.jdbc.SybConnection.handleHAFailover(SybConnection.java:3772)
at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:380)
at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:280)
at com.sybase.jdbc4.jdbc.SybDriver.connect(SybDriver.java:224)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at Test.main(Test.java:16)


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 SP03
  • jConnect
    • JDBC 16 (is version JDBC 7.0.7)

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0

Keywords

KBA , BC-SYB-SDK , SDK , Problem

About this page

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

Search for additional results

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