Create a Cloudscape database for the UDDI Registry

Perform this task if you want to use Cloudscape (embedded or network) as the database store for your UDDI Registry, and you do not want to use the default option on uddiDeploy.jacl (see 'Setting up a default UDDI node'). The most likely reasons for not using the default option on uddiDeploy.jacl are that you want to set up a customized UDDI node, or that you are deploying UDDI into a Network Deployment cell. You need only perform this task once for each UDDI Registry, as part of the Setting up and deploying a UDDI Registry.

 

Overview

The commands below use a number of arguments for which we need to enter appropriate values. You should decide the values that you will use before you start. The arguments used, and suggested values, are:

arg1

is the path of the SQL files, which on a standard install will be install_root/UDDIReg/databaseScripts

arg2

is the path to the location where you want to install the Cloudscape database, for example install_root/profiles/profile/databases/com.ibm.uddi

arg3

is the name of the Cloudscape database. A recommended value is UDDI30, and this name is assumed throughout the UDDI documentation. If you use another name, you should substitute that name whenever you see 'UDDI30' in other sections of the UDDI documentation.

arg4

is an optional argument, and must either be omitted or be the string 'DEFAULT'. DEFAULT should only be specified if you want your database to be used as a default UDDI node. Note that this argument is case sensitive.

 

Step for this task

Run the following java -jar command from the install_root/lib directory, to create the UDDI Cloudscape database:

  1. On Solaris and HP-UX platforms

    java -Djava.ext.dirs=install_root/cloudscape/lib:install_root/java/lib/ext -jar 
               UDDICloudscapeCreate.jar arg1 arg2 arg3 arg4
    

  2. On all other platforms

    java -cp install_root/cloudscape/lib/db2j.jar -jar UDDICloudscapeCreate.jar arg1 arg2 arg3 arg4
    

 

What to do next

Continue with setting up and deploying your UDDI Registry node.


 

Related Tasks


Creating a DB2 database for the UDDI Registry
Creating an Oracle database for the UDDI Registry