The Enterprise Sample requires that all Sun JavaTM System products (with the possible exception of the Directory Server) reside on the same machine. The Directory Server can reside either on the same host or on a separate host.
The Enterprise Sample is installed using ant, a Java based build tool, and a set of ant scripts installed by Portal at PortalServer-base/samples/portals.
To install the Enterprise Sample, do the following.
Create a custom directory for the Enterprise Sample.
For example, type mkdir /tmp/mydir.
Copy the sample configuration files input.properties and password.properties in PortalServer-base/samples/portals/shared to the directory you just created.
For example, copy the PortalServer-base/samples/portals/shared/input.properties.template to /tmp/mydir/input.properties and copy PortalServer-base/samples/portals/shared/password.properties.template to /tmp/mydir/password.properties. When copying, remove the template extension.
Edit the input.properties file and replace all the tokens that begin and end with % with the appropriate Portal Server settings.
Edit the password.properties file and replace tokens that begin and end with % with the appropriate administration password value.
During the Portal Server software installation, if any sample was installed, a default input.properties file is placed in PortalServer-DataDir/tmp directory.
Use ant to install the Enterprise Sample.
For example, type ant -buildfile samplebuildfile -Dconfig.location=configlocation -logfile logfile where
Refers to the ant script at /usr/sfw/bin/ant.
Refers to the sample portal build file.
Refers to the location (directory) of the password.properties and input.properties files.
Refers to the location of the generated ant log file.
For example, to install only the Enterprise Sample, type /usr/sfw/bin/ant -buildfile /opt/SUNWportal/samples/portals/enterprise/build.xml -Dconfig.location=/tmp/mydir -logfile /tmp/mydir/enterprise_sample_install.log.