Make a copy of the PortalServer7-base/SUNWportal/samples/portals/shared/input.properties file and edit the following properties in the file.
ps.config.location=/etc/opt/SUNWps
ps.portal.id=Second
ps.instance.id=host_port
You can find out the exact instance-ID from the output of psadmin list-portals command.
ps.access.url=http://host.domain:port/portal For example, http://siroe.com:80/portal
ps.webapp.uri=/portal
ps.profiler.email=admin@siroe.com
ps.profiler.smtp.host=host.domain
search.access.url=http://host.domain:port/mySearch/search
search.id=search1
am.admin.dn=uid=amAdmin,ou=People,dc=siroe,dc=com
default.org.dn=dc=siroe,dc=com
Make a copy of PortalServer7-base/SUNWportal/samples/portals/shared/password.properties file and edit the following properties in the file to set proper passwords.
amadminPassword=%AMADMIN_PASSWORD%
amldapuserPassword=%AMLDAPUSER_PASSWORD%
userManagementPassword=%USER_MANAGEMENT_PASSWORD% (optional; can be ignored if you are not setting up the comm channels)
Remove the following files before running the sample content configuration ant script:
Change the order of targets in PortalServer7-base/SUNWportal/samples/portals/developer/build.xml file.
For example, change:
<target name="run" depends="config_am, config_portal, config_portlets, config_wsrp, par_create, par_import, config_authless, config_orgadmin, config_subscriptions, deploy"/>
to
<target name="run" depends="config_am, config_portal, par_create, par_import, config_authless, config_orgadmin, config_subscriptions, config_portlets, deploy, config_wsrp_dp"/>
Type /usr/sfw/bin/ant -buildfile PortalServer7-base/SUNWportal/samples/portals/build.xml.
You will be required to specify the location of the customized input.properties and password.properties file.
To capture the output of the sample portal content configuration, specify a log file when invoking ant. For example, type ant -buildfile PortalServer-base/SUNWps/samples/portals/build.xml -logfile /tmp/samplesinstall.txt.