Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer web services - UDDI registry > Administer the UDDI registry > Set up and deploying a new UDDI registry > Set up a customized UDDI node
Deploy the UDDI registry application
You deploy a UDDI registry application as part of setting up a UDDI node. We can use a supplied script, the administrative console, or wsadmin scripting commands. Before you deploy a UDDI registry application, create the database and data source for the UDDI registry.
If you are deploying a UDDI registry application to a cluster, it is assumed that a single database is used for all members of the cluster so that the cluster is displayed as a single UDDI node. Use this task as part of setting up a default UDDI node or setting up a customized UDDI node. We can deploy a UDDI registry application in two ways:
- We can use a script that performs all the necessary steps.
This script deploys the UDDI registry to a server or cluster that you specify.
- We can use the admin console. You deploy the UDDI registry application, the uddi.ear file, then complete additional steps, as described later in this topic. Alternatively, you can follow the same procedure using wsadmin.sh commands.
Procedure
- Optional: To deploy a UDDI registry application using the supplied script:
Optional. To deploy a UDDI registry application using the admin console, use the following steps.
- Run the uddiDeploy.jacl wsadmin script as shown, from the WAS_HOME/bin directory.
(AIX) (Solaris) Note: For the UNIX or Linux operating systems, add the .sh suffix to the wsadmin command.
wsadmin [-conntype none] [-profileName profile_name] -f uddiDeploy.jacl {node_name server_name| cluster_name}
The attributes of the command are as follows:
- -conntype none is optional, and is needed only if the application server or dmgr is not running.
- -profileName profile_name is the dmgr profile. If you do not specify a profile, the default profile is used.
- node_name is the name of the WAS node on which the target server runs. The node name is case sensitive.
- server_name
is the name of the target server on which to deploy the UDDI registry, for example, server1. The server name is case sensitive.
- cluster_name is the name of the target cluster into which to deploy the UDDI registry. The cluster name is case sensitive.
For example, to deploy UDDI on the node MyNode and the server server1 on a Windows system, assuming that server1 is already started:
wsadmin -f uddiDeploy.jacl MyNode server1To deploy UDDI into the cluster MyCluster on a Windows system:
wsadmin -f uddiDeploy.jacl MyCluster
- Install the UDDI application (the uddi.ear file) to the server or cluster that you require.
- Click Applications > Application Types > WebSphere enterprise applications > uddi_application > [Detail Properties] Class loading and update detection .
- Ensure that Class loader order is set to Classes loaded with local class loader first (parent last).
- Ensure that WAR class loader policy is set to Single class loader for application.
- Click Apply, then save your changes to the master configuration.
Results
The UDDI application is deployed. If the following error message is displayed, check that you ran the uddiDeploy.jacl script using the dmgr profile.WASX7017E: Exception received while running file "uddiDeploy.jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.
What to do next
Continue setting up the UDDI node.If you deployed the UDDI registry application to a cluster, you might need to update resources such as the Java Database Connectivity (JDBC) provider and data source on individual cluster members to allow correct access to the shared database.
If the ports on which WAS listens to a value are modified from the defaults (9080 and 9443), you might also need to update the host aliases for the virtual hosts of the UDDI application. You might need to do this for any configuration, but the ports are more likely to change in a cluster environment.
Set up a default UDDI node
Remove a UDDI registry node
Install enterprise application files with the console
Install enterprise applications using wsadmin.sh
Modify class loader modes for applications using wsadmin.sh
Modify WAR class loader policies for applications using wsadmin.sh
Set up a customized UDDI node