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

Current Customers and Partners

Log in for full access

Log In