+

Search Tips   |   Advanced Search

Portal, V6.1


 

Change driver types

WebSphere Portal requires either JDBC Type 2 or Type 4 drivers. This section provides information on how to switch from one driver type to the other. Before you begin, ensure that the following conditions are met:

Prerequisites

Installing DB2

Create users

Creating remote databases

Modifying database properties

Configure WebSphere Portal to use DB2

  1. Open a command prompt and change to the directory WP_PROFILE/ConfigEngine.

  2. Validate configuration properties.

    • ConfigEngine.bat validate-database-driver -DTransferDomainList=release,customization,community,jcr,feedback,likeminds

    • ConfigEngine.bat validate-database-connection -DTransferDomainList=release,customization,community,jcr,feedback,likeminds

  3. From the same command prompt as the previous steps, change to the directory WP_PROFILE/bin.

  4. Stop both WAS and the WebSphere Portal server:

    Option Description
    WAS stopServer.bat server1 -username adminid -password passwd
    WebSphere Portal stopServer.bat WebSphere_Portal -username adminid -password passwd

  5. Change to the directory WP_PROFILE/ConfigEngine.

  6. 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.

    ConfigEngine.bat connect-database -Drelease.DbPassword=wpsadmin -Dcustomization.DbPassword=wpsadmin -Dcommunity.DbPassword=wpsadmin -Djcr.DbPassword=wpsadmin -Dfeedback.DbPassword=wpsadmin -Dlikeminds.DbPassword=wpsadmin
    

  7. Change to the directory WP_PROFILE/bin.

  8. Start the WebSphere Portal server: startServer.bat WebSphere_Portal

 

Parent topic

Configure WebSphere Portal to use DB2

 

Previous topic:

Configure WebSphere Portal to use DB2