Hi folks. I'm having trouble using the native iris API in an environment running wildfly 16. Here's a piece of my java class and stackTrack, I'm using jdk 8.
@Resource(lookup = "java:jboss/datasources/IntersystemsDS") private DataSource dataSource; private Connection conn; private IRIS iris; @PostConstruct public void init() { try { conn = dataSource.getConnection(); IRISConnection iconn = (IRISConnection) conn.unwrap(IRISConnection.class); iris = IRIS.createIRIS(iconn); } catch (Exception e) { System.err.println("Não conseguiu Conexão!"); e.printStackTrace(); } }
But when trying to create an IRIS instance, I get this error
java.sql.SQLException: Protocol mismatch; only protocols >= 57 supported
can anybody help me?