SAP Knowledge Base Article - Preview

3385813 - jConnect incorrect behavior using kerberos but not with user/password - SDK for SAP ASE

Symptom

Kerberos connection fails with
com.sybase.jdbc4.jdbc.SybSQLException: The identifier that starts with 'LONG TABLE NAME' is too long. Maximum length

        at com.sybase.jdbc4.tds.Tds.processEed(Tds.java:4237)
        at com.sybase.jdbc4.tds.Tds.nextResult(Tds.java:3346)
        at com.sybase.jdbc4.jdbc.ResultGetter.nextResult(ResultGetter.java:78)
        at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:303)
        at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:285)
        at com.sybase.jdbc4.jdbc.SybStatement.queryLoop(SybStatement.java:2681)
        at com.sybase.jdbc4.jdbc.SybStatement.executeQuery(SybStatement.java:2667)
        at com.sybase.jdbc4.jdbc.SybStatement.executeQuery(SybStatement.java:565)

jConnect also fails when using ENCRYPT_PASSWORD=true
java.sql.SQLException: JZ00L: Login failed.  Examine the SQLWarnings chained to this exception for the reason(s).
        at com.sybase.jdbc4.jdbc.ErrorMessage.raiseError(ErrorMessage.java:832)
        at com.sybase.jdbc4.tds.Tds.processLoginAckToken(Tds.java:5578)
        at com.sybase.jdbc4.tds.Tds.doLogin(Tds.java:702)
        at com.sybase.jdbc4.tds.Tds.login(Tds.java:582)
        at com.sybase.jdbc4.jdbc.SybConnection.tryLogin(SybConnection.java:529)
        at com.sybase.jdbc4.jdbc.SybConnection.handleHAFailover(SybConnection.java:3860)
        at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:382)
        at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:282)
        at com.sybase.jdbc4.jdbc.SybDriver.connect(SybDriver.java:258)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:247)


Read more...

Environment

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

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 for Me (Login required).

Search for additional results

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