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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.