WebSphere Application Server Version 6.1 Feature Pack for Web Services
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

             Personalize the table of contents and search results

Setting up a UDDI migration data source

Use this topic to set up a UDDI migration data source to use to reference a Version 2 UDDI registry database.

About this task

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

Procedure

  1. If a suitable JDBC Provider for DB2 does not already exist, then create one, selecting the options DB2 Universal JDBC Driver Provider and Connection Pool data source.

    For details on how to create a JDBC provider, see Creating and configuring a JDBC provider using the administrative console.

  2. Create a data source for the Version 2 UDDI registry by following these steps:
    1. Click Resources > JDBC > 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 (WebSphere Application Server V4) option).
    5. Click New to create a new data source.
    6. In the Create a data source wizard, enter the following data:
      Name
      a suitable name, such as UDDI Datasource
      JNDI name
      set to datasources/uddimigration - this value is compulsory, and must be as shown.
      Component-managed authentication alias
      select the alias for the DB2 userid used to access UDDI Version 2 data, for example MyNode/UDDIAlias (refer to step 2 of Setting up a customized UDDI node if you do not have such an alias)
    7. Click Next.
    8. On the database specific properties page of the wizard, enter the following data:
      Database name
      UDDI20, or the name given to your Version 2 UDDI DB2 database.
      Use this Data Source in container-managed persistence (CMP)
      ensure the check box is cleared.
    9. Click Next, then check the summary and click Finish.
    10. Click the data source to display its properties, and add the following information:
      Description
      a suitable description
      Category
      set to uddi
      Data store helper class name
      filled in for you as: com.ibm.websphere.rsadapter.DB2DataStoreHelper
      Mapping-configuration alias
      set to DefaultPrincipalMapping
  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 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 this message is not displayed, investigate the problem with the help of the error message.

What to do next

Continue with the migration, as detailed in Migrating to Version 3 of the UDDI registry.




In this information ...


IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Nov 25, 2008 2:35:59 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/twsu_migrate_dsource.html