Service Registry 3.1 Administration Guide

ProcedureTo Configure Service Registry as Root Using Custom Properties After a Configure Later Installation

Before You Begin

These instructions assume that you are logged in as root or have become superuser.

  1. Change to the ServiceRegistry-base/install directory.

  2. Copy the file to a secure location.

    Use a command like the following:

    cp $HOME/hidden_dir/
  3. Change the permissions on the properties file to make it writable.

    Use a command like the following:

    chmod 600 $HOME/hidden_dir/
  4. Edit the modifiable properties in the file.

    For example, it is recommended that you change all the passwords from the default values.

  5. Change the permissions back to the original read-only value.

    Use a command like the following:

    chmod 400 $HOME/hidden_dir/
  6. In the ServiceRegistry-base/install directory, run the following command (all on one line), specifying the location of the modified file.

    Use a command like the following:

    Ant-base/ant -f build-install.xml$HOME/hidden_dir/ configure

    The ant command requires the JAVA_HOME environment variable to be set. Ordinarily, you set this variable to the following value:


    The Registry configuration process creates an Application Server domain at RegistryDomain-base/domains/${registry.install.DomainName}. The default domain name is registry. The configuration process then starts the domain, deploys the Registry, and leaves the domain running.

    The Registry configuration process installs the Registry database and server keystore in the directory RegistryDomain-base/3.0. This directory is not removed when the Registry is uninstalled, so that the database can be preserved for use in a future release. The administrator has control over when and whether to remove this directory.

    The RegistryDomain-base location is /var/opt/SUNWsrvc-registry on Solaris OS and /var/opt/sun/srvc-registry on Linux and HP-UX systems.

    The Registry configuration process creates a directory named ServiceRegistry-base/install/cacerts for you to place added certificates that the Application Server domain should trust.

  7. Review the output of the ant configure command for any errors.

    If there are no errors, you can now begin using the Web Console or the Admin Tool.