Question
Marcio Coelho · Oct 17, 2019

IRIS x Java - Wildfly datasource

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?
 

 

 

 

 

0
0 215
Discussion (1)0
Log in or sign up to continue

Bad news to me.
Iris driver do not connect to cache 2018. And this is my case