Service Registry 3.1 Update 1 Developer's Guide

ProcedureTo Edit the build.properties File

  1. Set the property registry.home to the directory where the Registry is installed.

    On Solaris OS: /opt/SUNWsrvc-registry

    On Linux systems: /opt/sun/srvc-registry

    On Microsoft Windows systems: C:\Program Files\Sun\JavaES5\srvc-registry

  2. Set the property share.dir to the directory where the Java ES shared components are located.

    On Solaris OS: /usr/share

    On Linux systems: /opt/sun/share

    On Microsoft Windows systems: C:\Program Files\Sun\JavaES5\share

  3. Set the property proxyHost to the name of the system through which you access the Internet, if you are behind a firewall.

    If you are not sure what the value should be, consult your system administrator or another person with that information. The proxyPort value is set to 8080, the typical value; change this value if necessary.

  4. Edit the properties query.url and publish.url to specify the URL of the Registry.

    The file provides a default setting of localhost:6480 for the host and port. Change this setting to another host or port if the Registry is installed on a remote server or at a non-default port.

  5. Edit the alias and password properties to specify the values that are required for publishing to the Registry. Make these edits after you use the User Registration Wizard of the Web Console. See Getting Access to the Registry for details.