+

Search Tips   |   Advanced Search

Windows clustered server: Change DB2 driver types


WebSphere Portal requires the use of either the IBM DB2 Legacy JDBC driver in type 2 mode or the IBM DB2 Universal JDBC driver in type 4 mode when connecting to DB2.

Before beginning, ensure that the following conditions are met:

Change from one supported driver to the other...

  1. Validate configuration properties

      cd WP_PROFILE/ConfigEngine
      ./ConfigEngine.bat validate-database -DWasPassword=foo

    Specify the domain to validate;

      ./ConfigEngine.bat validate-database -DWasPassword=foo -DTransferDomainList=jcr

  2. Stop portal

      cd WP_PROFILE/bin
      stopServer.bat WebSphere_Portal -username wpadmin -password foo

  3. To change from one supported driver to the other, run the following task. Include only the domains that require the switch.

      cd WP_PROFILE/ConfigEngine
      ConfigEngine.bat connect-database -Drelease.DbPassword=foo -Dcustomization.DbPassword=foo -Dcommunity.DbPassword=foo -Djcr.DbPassword=foo -Dfeedback.DbPassword=foo -Dlikeminds.DbPassword=foo -DWasPassword=foo

  4. Start portal


Parent: Windows clustered server: Type 2 driver support