"The sajdbc.jar build does not match the shared object build" in JBoss EAP

Solution Verified - Updated -

Issue

  • Encountering exception while connecting to Sybase

    ... java.sql.SQLException: The sajdbc.jar build does not match the shared object build
        at sybase.jdbc4.sqlanywhere.IDriver.makeODBCConnection(Native Method)
        at sybase.jdbc4.sqlanywhere.IDriver.connect(IDriver.java:811)
        ...
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7
  • Sybase SQL Anywhere JDBC 4.0 driver

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