Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Create a Portal Instance on a Managed Server in a New Domain of WebLogic 8.1 Service Pack 5

Before You Begin

Ensure the following:

  1. Create a WebLogic domain, seconddomain on the port 7002.

  2. Create a managed server, 7022server, on the port 7022.

  3. Go to the WebLogic_base/user_projects/domains/seconddomain directory and run the following scripts.

    ./startWeblogic.sh

    ./startManagedWeblogic.sh 7022server

  4. Copy the PortalServer_base/SUNWportal/template/Webcontainer.properties.BEAWL8 file to a PortalServer_base/SUNWportal/bin/secondinstance.properties file.

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

    • Host=hostname.domain

    • Port=7022

    • Scheme=http

    • WebContainerType=BEAWL8

    • WebContainerInstallDir=/usr/local/bea/weblogic81

    • WebContainerInstanceName=7022server

    • WebContainerInstanceDir=/usr/local/bea/user_projects/domains/seconddomain

    • WebContainerDocRoot=LEAVE BLANK

    • WebContainerAdminHost=hostname.domain

    • WebContainerAdminPort=7002

    • WebContainerAdminScheme=http

    • WebContainerAdminUid=admin userid

    • WebContainerAdminPassword=admin passwd

    • WebContainerJDKDir=/usr/local/bea/jdk142_08

    • WebContainerManagedServer=true

      The value is false if new Portal Server is installed on administrator server itself.

  6. Create the new portal instance.

    PortalServer_base/SUNWportal/bin/psadmin create-instance -u amadmin -f ps_password -p portal1 -w secondinstance.properties

  7. Restart the web container.

  8. Verify that the new portal instance has been created.

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

  9. Access the new Portal Server instance.

    http://hostname.domain.com:instance-port/portal