The default location for installing Application Server is /opt/SUNWappserver/appserver on Solaris OS and /opt/sun/appserver on Linux and HP-UX systems. If you installed Application Server in a different location, you must edit a copy of the file install.properties before you configure Service Registry.
Change to the ServiceRegistry-base/install directory.
Copy the file install.properties to a secure location and rename it.
Use a command like the following:
cp install.properties $HOME/hidden_dir/sr.properties |
Change the permissions on the properties file to make it writable.
Use a command like the following:
chmod 600 $HOME/hidden_dir/sr.properties |
Open the file in a text editor.
Find the commented-out definition of the property appserver.root.dir.
Remove the comment character (#) and replace the property definition with the actual location of Application Server.
Save and close the file.
Continue with the instructions in Configuring Service Registry.