Reinstalling the UDDI registry application

You can remove and reinstall an existing UDDI registry application to change the UDDI application code but continue to provide UDDI services with the existing UDDI database.

About this task

A UDDI registry node consists of the following elements:
  • A Java EE application.
  • A store of data that is referred to as the UDDI database. The UDDI database uses a relational database management system.
  • A way to connect the application to the data (a data source and related elements).
All the data that relates to UDDI is stored in the UDDI database and therefore that data exists, regardless of the UDDI application. Therefore, you can remove a UDDI registry node from the application server without deleting the database, then reinstall the UDDI registry application. You might do this if an application is corrupted, or to apply service changes.

Procedure

  1. Note any changes that you made to the installed UDDI application that you want to keep, for example changes to security role mappings, changes to the deployment descriptor (web.xml) in the v3soap.war, v3gui.war, v3soap.war, or soap.war files, or customization of the UDDI user interface (GUI). All such changes are lost during the reinstallation process, so you must reapply changes that you want to keep later.
  2. Remove the existing UDDI application and reinstall it by running the uddiDeploy.jacl wsadmin script from the app_server_root/bin directory. Do not use the default option even if you used this option previously to set up a default UDDI node. If you use the default option, an error might occur during deployment, or, in some circumstances, existing UDDI data might be overwritten.

    Enter the following command at a command prompt:

    wsadmin [-conntype none] [-profileName profile_name] -f uddiDeploy.jacl 
            node_name server_name 
    where:
    • -conntype none is optional, and is needed only if the application server is not running.
    • -profileName profile_name is optional, and is the name of the profile in which the UDDI application is deployed. If you do not specify a profile, the default profile is used.
    • node_name and server_name are the names of the WebSphere® Application server node and the application server in which the UDDI application is deployed. These are the names that you specified when you ran the uddiDeploy.jacl script to install the UDDI application.
    Note: This procedure does not change the existing JDBC provider, data source and any J2EE Connector Architecture (J2C) authentication data entry. Your existing UDDI registry data, including UDDI entities, property settings, and policy settings, are also unaffected.
  3. Optional: To direct the output to a log file, add the following option to the end of the command, where log_name.log can be any name that you choose for the log file:
    > log_name.log
    
  4. If you noted any changes in step 1, reapply them now.
  5. For the reapplied changes to take effect, start or restart the application server.



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 Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 4:16:02 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-dist&topic=twsu_reinstall
File name: twsu_reinstall.html