Failure in loading T2 native library db2jcct2.

Document ID : KB000024616
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

If WebStation Option and your application server have been configured to use the DB2 Type-4 driver, then you may get the following error when attempting to login to the application.

*
Error Code: -99999
Error Message: com.ibm.db2.jcc.b.SqlException: Failure in loading T2
native library db2jcct2
*

Solution

Change your connection string as follows in the WsoServer.properties file

-
jdbc.drivername=com.ibm.db2.jcc.DB2Driver
jdbc:db2://system_name:port_number/database_name    <<<<
-

Where:

system_name = host name
Port_number = port #
Database_name = target DB name