Set up a UDDI migration datasource

Use this topic to set up a UDDI migration datasource, to be used to reference a V2 UDDI Registry database.

 

Overview

Migration is only supported from DB2, so these instructions describe how to set up a DB2 datasource.

 

Procedure

  1. If a suitable DB2 JDBC Provider does not already exist, then create one, selecting the options DB2 Legacy CLI-based Type 2 JDBC Driver and Connection Pool datasource. For details on how to create a JDBC provider, see Creating and configuring a JDBC provider using the administrative console.

  2. Create a datasource for the V2 UDDI Registry by following these steps:

    1. Expand Resources and JDBC Providers.

    2. Select the desired 'scope' of the JDBC provider you selected or created earlier. For example, select:

      Server: yourservername
      
      to show the JDBC providers at the server level.

    3. Select the JDBC provider created earlier.

    4. Under Additional Properties, select Data Sources (not the Data Sources V4 option).

    5. Click New to create a new datasource.

    6. Fill in the details for the datasource as follows:

      Name

      a suitable name, such as UDDI Datasource

      JNDI name

      set to datasources/uddimigration - this value is compulsory, and must be as shown.

      Use this Data Source in container-managed persistence (CMP)

      ensure the check box is cleared.

      Description

      a suitable description

      Category

      set to uddi

      Data store helper class name

      filled in for you as: com.ibm.websphere.rsadapter.DB2DataStoreHelper

      Component-managed authentication alias

      select the alias for the DB2 userid used to access UDDI V2 data, for example MyNode/UDDIAlias (refer to step 2 of Setting up a customized UDDI node if you do not have such an alias)

      Container-managed authentication alias

      set to (none)

      Mapping-configuration alias

      set to DefaultPrincipalMapping

      DB2 legacy CLI-based type 2 data source properties

      set Database name to UDDI20, or the name given to your V2 UDDI DB2 database

      Leave all other fields unchanged.

  3. Click Apply and save the changes to the master configuration.

  4. Test the connection to your UDDI database by selecting the check box next to the datasource and clicking Test connection. You will see a message similar to "Test Connection for datasource UDDI Datasource on server server1 at node MyNode was successful". If you do not see this message investigate the problem with the help of the error message.

 

What to do next

Continue with the migration as detailed in Migrating to V3 of the UDDI Registry.