+

Search Tips   |   Advanced Search

Set up a UDDI migration data source


For DB2, we can set up a UDDI migration data source that we can use to reference a V2 UDDI registry database.

Only migration from DB2 is supported, so this procedure describes how to set up a DB2 data source.

 

  1. If a suitable JDBC Provider for DB2 does not already exist, create one. Select the following options:

    • Database type: DB2

    • Provider type: DB2 Universal JDBC Driver Provider

    • Implementation type: Connection pool data source

  2. Create a data source for the V2 UDDI registry by following these steps:

    1. Click Resources > JDBC > JDBC Providers .

    2. Select the scope of the JDBC provider that you selected or created earlier. For example, select the following to show the JDBC providers at the server level:

      Node=my_node_name, Server=my_server_name
      

    3. Select the JDBC provider createdd earlier.

    4. Select [Additional Properties] Data sources. Do not select [Additional Properties] Data sources (WAS V4).

    5. Click New to create a new data source. The Create a data source wizard starts.

    6. In the first pane of the Create a data source wizard, enter the following data:

      Data source name

      Type a suitable name, such as UDDI Datasource.

      JNDI name

      Type datasources/uddimigration . This value is compulsory, and set it as it is shown.

    7. On the database-specific properties pane of the wizard, enter the following data:

      Database name

      Type UDDI20, or the name of the V 2 UDDI DB2 database.

      Use this data source in container managed persistence (CMP)

      Verify the check box is cleared.

    8. On the setup security aliases pane of the wizard, enter the following data:

      Component-managed authentication alias

      Select the alias for the DB2 user ID used to access UDDI V2 data, for example MyNode/UDDIAlias. If the required alias does not exist, see step 2 of Set up a customized UDDI node.

      Mapping-configuration alias

      Select DefaultPrincipalMapping. This field is in the Security settings section.

    9. When the Create a data source wizard is finished, click the data source to display its properties, then add the following information:

      Description

      Type a suitable description of the data source.

      Category

      Type uddi.

      Data store helper class name

      Ensure that this is set to DB2 Universal data store helper.

  3. Click Apply, then save the changes to the master configuration.

  4. Test the connection to the UDDI database by selecting the check box next to the data source and clicking Test connection. A message similar to Test Connection for datasource UDDI Datasource on server server1 at node MyNode was successful is displayed. If we do not see this message, investigate the problem with the help of the error message.

 

Next steps

Continue with the migration as detailed in Migrate to V3 of the UDDI registry.

 

Related tasks


Set a JDBC provider
Migrate to V3 of the UDDI registry