+

Search Tips   |   Advanced Search

Windows stand-alone: Change Oracle or Oracle RAC driver types


IBM WebSphere Portal requires the use of either JDBC Type 4 drivers or JDBC OCI Type 2 drivers when connecting to Oracle or Oracle RAC. You may need to change driver types after a migration. To migrate from a previous version of WebSphere Portal using JDBC Type 4 drivers, the target system must use JDBC Type 4 drivers. Once migration is complete, we can continue using JDBC Type 4 drivers or change the driver type to JDBC OCI Type 2 drivers as appropriate. Direct migration from a previous installation of WebSphere Portal using JDBC Type 4 drivers to an installation using JDBC OCI Type 2 drivers is not supported.

Before beginning, ensure that the following conditions are met:

  1. To validate configuration properties.

      cd WP_PROFILE\ConfigEngine
      ConfigEngine.bat validate-database

  2. From the same command prompt as the previous steps, change to the directory WP_PROFILE\bin.

  3. Stop the WebSphere_Portal server:

      stopServer.bat WebSphere_Portal -username wpadmin -password foo

  4. To change from one supported driver to the other, run the following task to connect the database, including 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

  5. Change to the directory WP_PROFILE\bin.

  6. Start the WebSphere Portal server.


Parent: Windows stand-alone: Set up a remote Oracle or Oracle RAC database