Sun Java System Portal Server 7 2005Q4 Release Note Supplement

ProcedureTo Deploy Sample Content (3 samples) on a New Portal

Steps
  1. 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


      Tip –

      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

  2. 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)

  3. Remove the following files before running the sample content configuration ant script:

    • Directory:

      • /var/opt/sun/portal/tmp/par on Linux

      • /var/opt/SUNWportal/tmp/par on Solaris

    • Files:

      • community_sample.par

      • developer_sample.par

      • enterprise_sample.par

      • welcome_sample.par

  4. Change the order of targets in the developer sample PortalServer7-base/SUNWportal/samples/portals/developer/build.xml file.

    In the run target of developer sample build.xml, config_portlets and config_wsrp targets are invoked before the par_import target. The portlet providers are created in the config_portlets target and then overwritten by the display profile import in the par_import target. Hence the portlet providers become unavailable. Change the order of the targets in this file.

  5. 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.


    Note –

    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.