+

Search Tips   |   Advanced Search

(dist)

Data source minimum required settings for DB2 with the application server on AIX, HP-UX, Linux, Solaris, or Windows

Set the appropriate properties on every data source configured. These settings are for a DB2 data source that is connecting to an application server running on AIX , HP-UX, Linux, Solaris, or Windows systems.

The SafepointPolling technology in the HP JVM (JVM) for HP-UX might interfere with DB2 transactions. Developed to ensure safepoints for Java threads, SafepointPolling technology generates a signal that can interfere with the signal between the application server and a DB2 database. Database deadlocks often result. Prevent the interference by starting the JVM with the -XX:-SafepointPolling option, which disables SafepointPolling during runtime.gotcha

Avoid trouble:

Start with version 9 of DB2, Linux, HP-UX, and Solaris systems require a 64-bit kernel. In addition, the width of the default instance bit is now determined by the operating system, which is different than with previous versions of DB2. With these changes in operating system requirements, the -w option, which would have provided the ability to specify the bit width of the instance, was removed for the db2icrt, db2ilist and db2iupdt commands.

These changes on Linux, HP-UX, and Solaris systems preclude the ability to create or maintain a 32-bit instance of the application server with version 9 of DB2 on UNIX platforms. On 64-bit UNIX systems that have a 32-bit instance created for version 8 of DB2, migrate the 32-bit instance for version 8 of DB2 to a 64-bit instance for version 8 of DB2 prior to migrating the instance to version 9 of DB2. gotcha

We can configure one of the following types of providers:

The LIBPATH for a 32-bit application is:

The LIBPATH for a 64-bit application is:


Related tasks

  • Configure a JDBC provider and data source
  • Configure a JDBC provider using the administrative console
  • Configure a data source using the administrative console
  • Create a JDBC provider and data source using the JMX API
  • Configure new data source custom properties using wsadmin

  • Java EE resource provider or connection factory custom properties collection