Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Create a New Portal on Web Server 7.0 Using the psadmin Command

Before You Begin

Ensure the following:

  1. Install Access Manager SDK and Web Server 7.0 in the Configure Now mode using the Java ES installer.

  2. Start the Web Server 7.0 administrator server.

    WebServer_base/admin-server/bin/startserv

  3. Start the Web Server 7.0 instance.

    WebServer_base/https-hostname.domain/bin/startserv

  4. Install Portal Server in the Configure Now mode using the Java ES installer.

  5. Configure the common agent container and Java DB.

    PortalServer_base/bin/psconfig --config example2.xml

  6. Verify whether the common agent container is working properly.

    PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password

  7. Copy the PortalServer_base/SUNWportal/template/Webcontainer.properties.SJSWS7 file to a PortalServer_base/SUNWportal/bin/secondportal.properties file.

  8. Edit the following properties in the secondportal.properties file.

    • Host=hostname.domain

    • Port=80

    • Scheme=http

    • WebContainerType=SJSWS7

    • WebContainerInstallDir=/opt/SUNWwbsvr7

    • WebContainerInstanceName=hostname.domain

    • WebContainerDomainName=hostname.domain

    • WebContainerDocRoot=/var/opt/SUNWwbsvr7/docs

    • WebContainerAdminHost=hostname.domain

    • WebContainerAdminPort=8989

    • WebContainerAdminScheme=https

    • WebContainerAdminUid=admin

    • WebContainerAdminPassword=Webserver7.0 admin password

  9. Create the new portal.

    PortalServer_base/SUNWportal/bin/psadmin create-portal -u amadmin -f ps_password -p secondportal --uri /portal -w secondportal.properties


    Note –

    The ps_password file contains the Access Manager password.


  10. Restart the web container.

  11. Verify that the new portal has been created.

    PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password