Copy the PortalServer-base/SUNWportal/samples/portals/shared/input.properties.template file to the /var/opt/SUNWportal/tmp/input.properties file where the default value for PortalServer-base is /opt/SUNWportal.
In the Linux platform, copy to the /var/opt/sun/portal/tmp/input.properties file.
You can copy the input.properties file to any directory. The input.properties file and the password.properties file must, however, exist in the same directory.
Edit the input.properties file with the following values.
The portal configuration directory. For example, /etc/opt/SUNWportal
Portal ID. For example, portal1
Access URL of the portal. For example, http://host:port/portal
Access URI of the portal. For example, /portal
admin@domain.com. Note that this value is optional. You can leave this value empty.
host.domain. Note that this value is optional. You can leave this value empty.
Access URL of the search server. For example, http://host.domain:port/search1/search
Search server ID. For example, search1
Access Manager top-level administrator distinguished name (DN). For example, uid=amAdmin,ou=People,dc=domain,dc=com
Default organization DN. For example, dc=domain,dc=com
Copy the PortalServer-base/SUNWportal/samples/portals/shared/password.properties.template file to the /var/opt/SUNWportal/tmp/password.properties file.
In the Linux platform, copy the file to the /var/opt/sun/portal/tmp/password.properties directory.
You can copy the password.properties file to any directory. However, the password.properties file and the input.properties file must exist in the same directory.
Edit the password.properties file to set proper passwords.
%AMADMIN_PASSWORD%
%AMLDAPUSER_PASSWORD%
Run the following command.
export JAVA_HOME=/usr/jdk/entsys-j2se |
Run the following command.
/usr/sfw/bin/ant uninstall_samples -buildfile PortalServer-base/SUNWportal/samples/portals/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
/usr/sfw/bin/ant uninstall -buildfile PortalServer-base/SUNWportal/samples/portals/developer/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
/usr/sfw/bin/ant uninstall -buildfile PortalServer-base/SUNWportal/samples/portals/enterprise/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
/usr/sfw/bin/ant uninstall -buildfile PortalServer-base/SUNWportal/samples/portals/community/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
/usr/sfw/bin/ant uninstall -buildfile PortalServer-base/SUNWportal/samples/portals/welcome/build.xml -Dconfig.location /var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
Restart the web container.