Migrating JDBC providers from WebSphere Application Server version 6.1
To keep using the DB2 legacy CLI-based type2 driver after upgrading to WebSphere Application Server version 7.0 you must set the old driver before upgrading.
About this task
Procedure
Use the following command to explicitly set the old driver name
on WebSphere Application Server 6.1:
- Database repositories
- wsadmin> $AdminTask updateIdMgrDBRepository {-id <dbId> -dbURL <dbURL> -JDBCDriverClass COM.ibm.db2.jdbc.app.DB2Driver}
- Property extension repository
- wsadmin> $AdminTask setIdMgrPropertyExtensionRepository {-dbURL <dbURL> -JDBCDriverClass COM.ibm.db2.jdbc.app.DB2Driver -databaseType <databaseType> -dataSourceName <dataSourceName> -dbAdminId <dbAdminId> -dbAdminPassword <dbAdminPassword>}
- Entry mapping repository
- wsadmin> $AdminTask setIdMgrEntryMappingRepository {-dbURL <dbURL> -JDBCDriverClass COM.ibm.db2.jdbc.app.DB2Driver -databaseType <databaseType> -dataSourceName <dataSourceName> -dbAdminId <dbAdminId> -dbAdminPassword <dbAdminPassword>}