Trouble in connecting to IBM DB2 using widget Database connector. - Mendix Forum

Trouble in connecting to IBM DB2 using widget Database connector.

0

I'm trying to connect IBM DB2 using Database connector, the connection is established with the database it seems but there is some weird error. Anybody who has established such connection ? Error below:

com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.ibm.db2.jcc.am.SqlNonTransientConnectionException: [jcc][t4][10380][11951][4.19.26] Required property "u390tt1.ao.nl.abnamro.com" is unknown host. ERRORCODE=-4222, SQLSTATE=08001
at Database_Connector.Microflow (JavaAction : 'Execute query')

P.S Help appreciated.

 

asked
1 answers
0

When you search for the error returned (ERRORCODE=-4222, SQLSTATE=08001) the issue seems to be a network error preventing the connection.

See: https://stackoverflow.com/questions/16019923/sometimes-cannot-connect-to-a-remote-db2-database

and: https://developer.ibm.com/answers/questions/246094/db2-connection-problem-in-websphere-liberty/

The last link suggest to try to connect on ip rather than name to cirumvent dns issues.

Maybe this will help you in finding a solution.

answered