Creating a Cloudscape database for the UDDI registry

Perform this task to use a Cloudscape database as the database store for your UDDI registry. You can use an embedded or network Cloudscape database, and the database store can be local or remote.

Before you begin

The following steps use a number of variables. Before you start, decide appropriate values to use for these variables. The variables, and suggested values, are:
arg1
The path of the SQL files. For a standard installation, this is app_server_root/UDDIReg/databaseScripts.
arg2
The path to the location where you want to install the Cloudscape database, for example app_server_root/profiles/profile_name/databases/com.ibm.uddi.
arg3
The name of the Cloudscape database. A recommended value is UDDI30, and this name is assumed throughout the UDDI information. If you use another name, substitute that name when UDDI30 is used in the UDDI information.
arg4
An optional argument. Either use the value DEFAULT, or omit this argument. Specify DEFAULT to use the database as a default UDDI node. This argument is case sensitive.

If you want to create a remote database, refer first to the database product documentation about the relevant capabilities of the product.

About this task

You perform this task only once for each UDDI registry, as part of setting up and deploying a UDDI registry.

Procedure

  1. create a UDDI Cloudscape database using UDDICloudscapeCreate.jar. Run the following java -jar command from the app_server_root/lib directory. [HP-UX] [Solaris]
    java -Djava.ext.dirs=app_server_root/cloudscape/lib:app_server_root/java/lib/ext -jar 
    UDDICloudscapeCreate.jar arg1 arg2 arg3 arg4
    [Windows] [AIX] [Linux] [AIX HP-UX Solaris]
    java -cp app_server_root/cloudscape/lib/db2j.jar -jar UDDICloudscapeCreate.jar arg1 arg2 arg3 arg4

    If the Cloudscape database already exists, you are asked if you want to recreate it. If you choose to recreate the database, the existing database is deleted and a new one is created in its place. If you choose not to recreate the database, the command exits and a new database is not created.

  2. If you are using a remote database, which requires network Cloudscape, or if you want to use network Cloudscape for other reasons, configure the Cloudscape Network Server framework, as described in Configuring Cloudscape Version 5.1.60x. Note that embedded Cloudscape is not supported for this configuration.

What to do next

[AIX] [Version 6.0] To ensure that the following tModel entities are present, you must run an additional script against the database:
  • uddi-org:wsdl:types
  • uddi-org:derivedFrom
  • uddi-org:validatedBy
  • uddi-org:owningBusiness_v3
  • uddi-org:relationships
  • uddi-org:xml:localName
  • uddi-org:xml:namespace
For details, see the UDDI registry troubleshooting topic.

Continue with setting up and deploying your UDDI registry node.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

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

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 7:21:45 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-dist&topic=twsu_create_cloudscape
File name: twsu_create_cloudscape.html