The database driver path variables are incorrectly set in the deployment environment in IBM Business Process Manager (BPM) Advanced
When you create a deployment environment, the database driver path values in the database design file might not be propagated to the WebSphere variables that are set at the node level for DB2UNIVERSAL_JDBC_DRIVER_PATH and DB2UNIVERSAL_JDBC_DRIVER_NATIVEPATH.
After you create a deployment environment by using the database design file and then start the servers, you might obtain connection errors of the following form:
ExtendedMessage: CWSTM0004E: The connection to the data source with a JNDI name of jdbc/WPSDB
that is used to hold business rules and selectors failed as it may not have been created or
it is unreachable.java.
sql.SQLException: Failure in loading native library db2jcct2zos_64,
jcct2zos_64 (Not found in java.library.path): ERRORCODE=-4472, SQLSTATE=null
DSRA0010E: SQL State = null, Error Code = -4,472
at java.lang.J9VMInternals.initializeImpl(Native Method)
When you create a database design file with the database design tool, you can enter specific paths for the location of the database driver. For example, for a Type 2 driver for DB2 for z/OS, you can specify the DB2 Universal JDBC driver path and DB2 Universal JDBC driver native path. These values are saved to the database design file.
When you use the database design file to create a deployment environment in the administrative console, the database driver path values might not be propagated to the WebSphere Variables page. At the node level, the database driver paths might instead point to the default WAS_INSTALL_ROOT/jdbdcdrivers/db_type location of the drivers.
Diagnosing the problem
Typically, this issue is noticed only when an attempt is made to access the database from the server at run time. The wrong driver is used resulting in an SQLException error.
Resolving the problem
After you create the deployment environment, go to the WebSphere Variables page, and then for each node, check the values related to your configured database to ensure that the correct values are specified:
- ORACLE_JDBC_DRIVER_PATH, MICROSOFT_JDBC_DRIVER_PATH
- DB2UNIVERSAL_JDBC_DRIVER_PATH, DB2UNIVERSAL_JDBC_DRIVER_NATIVEPATH
- MICROSOFT_JDBC_DRIVER_NATIVEPATH, DB2_JCC_DRIVER_PATH
More support for:
IBM Business Process Manager Advanced
Software version: 8.0.1
Operating system(s): AIX, Linux, Solaris, Windows, z/OS
Reference #: 1615469
Modified date: 2012-11-16