Sybase driver raised "java.sql.SQLException: JZ00L: Login failed. " in JBoss EAP

Solution Verified - Updated -

Issue

Encountering a login failure when using Sybase

... 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:780)
        at com.sybase.jdbc4.tds.Tds.processLoginAckToken(Tds.java:5495)
        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 org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:296)
        ...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 6
  • Sybase

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content