com.ibm.db2.jcc.b.SqlException: Failure in loading T2 native library db2jcct2 error

You receive an error when using the DB2® 9.1 64-bit client in AIX®.

Symptoms

You receive the com.ibm.db2.jcc.b.SqlException: Failure in loading T2 native library db2jcct2 error when running the test_db.sh shell script.

Resolving the problem

Make sure that you are using a type 4 connection in $TOP/bin/conf/env_settings.ini.