For DB2®, you can set up a UDDI migration data source
that you can use to reference a Version 2 UDDI registry database.
About this task
Only migration from DB2 is supported, so this procedure
describes how to set up a DB2 data source.
Procedure
- If a suitable JDBC Provider for DB2 does
not already exist, create one. Select the following options:
- Database type: DB2
- Provider type: DB2 Legacy
CLI-based Type 2 JDBC Driver
- Implementation type: Connection pool data source
- Create a data source for the Version 2 UDDI registry by
following these steps:
- Click .
- 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=your_node_name, Server=your_server_name
- Select the JDBC provider that you created earlier.
- Select [Additional
Properties] Data sources. Do not select [Additional
Properties] Data Sources Version 4 .
- Click New to create a new data
source.
- Enter the details for the data
source as follows:
- Name
- Type a suitable name, such as UDDI Datasource.
- JNDI name
- Type datasources/uddimigration . This value
is compulsory, and you must set it as it is shown.
- Use this Data Source in container-managed persistence (CMP)
- Ensure that the check box is cleared.
- Description
- Type a suitable description of the data source.
- Category
- Type uddi.
- Data store helper class name
- Ensure that this is set to com.ibm.websphere.rsadapter.DB2DataStoreHelper.
- Component-managed authentication alias
- Select the alias for the DB2 user id that is
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).
- Container-managed authentication alias
- Select (none).
- Mapping-configuration alias
- Select DefaultPrincipalMapping.
- DB2 legacy CLI-based type 2 data source properties
- Set Database name to UDDI20,
or the name of the Version 2 UDDI DB2 database.
Leave all other fields unchanged.
- Click Apply, then save the changes
to the master configuration.
- 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.