Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Error to connect db2/as400

avatar
New Contributor

I can't connect to db2/as400

I have tried with db2jcc4.jar, db2jcc.jar, jt400.jar

jt400.jar

JLCR_0-1645132654107.png

Error

WARN [Timer-Driven Process Thread-4] o.a.n.controller.tasks.ConnectableTask Administratively Yielding ExecuteSQL[id=3732162d-1fac-1df4-52b9-e9190b60af34] due to uncaught Exception: java.lang.AbstractMethodError: Receiver class com.ibm.as400.access.AS400JDBCConnection does not define or inherit an implementation of the resolved method 'abstract boolean isValid(int)' of interface java.sql.Connection.



1 REPLY 1

avatar
New Contributor

try with db2jcc4.jar
and the error is:

 

An attempt was made to access a database, MMSP4LIB, which was either not found or does not support transactions. ERRORCODE=-4499, SQLSTATE=08004); routing to failure: org.apache.nifi.processor.exception.ProcessException: java.sql.SQLException: Cannot create PoolableConnectionFactory ([jcc][t4][2057][11264][4.25.13] The application server rejected establishment of the connection.