Skip to content

TimesTen

TimesTen#

When registering connection information, when clicking "Test" button, error message Problems with loading native library/missing methods: no ttJdbcCS in java.library.path is output.#

Cause#

This message shows up when the TimesTen Type 2 JDBC is failed to load the native library.

Solution#

Install the TimesTen client package on the machine where you want to run the Migration Center, then rerun the Migration Center. If the target operating system is Linux, users have to add the lib directory path of the client package to LD_LIBRARY_PATH environment variable after installing the client package.

When I click "Test" button while registering connection information, I get error message Problems with loading native library/missing method: ~\bin\ttJdbcCS1122.dll: Cannot load AMD 64-bit.dll on a IA 32-bit platrom.#

Cause#

The error message shows up when incompatible bit-version, 32-bit or 64-bit, between TimesTen client package and the JRE the Migration Center is using.

Solution#

Open the executable file (migcenter.bat or migcenter.sh) with an editor and change the value of the environment variable JAVA_HOME. Specify the JAVA_HOME path to the JRE that matches the number of bits in the installed TimesTen client package, then rerun the Migration Center.

When registering connection information, when clicking "Test" button, error message Data source name not found and no default driver specified is displayed.#

Cause#

This message is output when the DSN value entered in the connection information is invalid.

Solution#

Enter the DSN registered in the server into the DSN field.

When registering a database connection, when clicking the "Test" button, "Problems with loading native library/missing methods: Native Library /path/libttJdbcCS.so already loaded in another classloader" is displayed.#

Cause#

This exception arises from the Java classloader when a TimesTen Type 2 JDBC driver, which relies on a native library, is loaded, and the .so file is then reloaded. This scenario often occurs when performing a connection test, switching to a different JDBC driver, and testing again. According to the Java Native Interface (JNI) specification, native libraries can only be loaded once in a JVM session.

For more details, refer to the JNI Specification - Library Version.

Solution#

First, exit and restart the Migration Center completely. Then, register the database connections or modify the database connection information as needed.