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 Version 2 UDDI registry database.
Only migration from DB2 is supported, so this procedure describes how to set up a DB2 data source.
- 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
- Create a data source for the Version 2 UDDI registry by following these steps:
- Click Resources > JDBC > JDBC Providers.
- Select the scope of the JDBC provider selecteded or created earlier. For example, select the following to show the JDBC providers at the server level:
- Select the JDBC provider created earlier.
- Select [Additional Properties] Data sources. Do not select [Additional Properties] Data sources (WebSphere Application Server V4).
- Click New to create a new data source. The Create a data source wizard starts.
- 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.
- On the database-specific properties pane of the wizard, enter the following data:
- Database name
- Type UDDI20, or the name of the Version 2 UDDI DB2 database.
- Use this data source in container managed persistence (CMP)
- Ensure that the check box is cleared.
- 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 Version 2 data, for example MyNode/UDDIAlias. If the required alias does not exist, see step 2 of Setting up a customized UDDI node.
- Mapping-configuration alias
- Select DefaultPrincipalMapping. This field is in the Security settings section.
- When the Create a data source wizard is finished, click the data source to display its properties, then add the following information:
- Type a suitable description of the data source.
- Type uddi.
- Data store helper class name
- Ensure that this is set to DB2 Universal data store helper.
- Click Apply, then save the changes to the master configuration.
- 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.
What to do next
Continue with the migration, as described in the topic about migrating to Version 3 of the UDDI registry.
Configure a JDBC provider using the administrative console Set up a customized UDDI node