Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Create a New Portal on a New Domain of BEA WebLogic 8.1 Service Pack 5

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

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

  3. Go to the WebLogic_base/user_projects/domains/seconddomain directory and start the managed server.

    ./startWeblogic.sh

    ./startManagedWeblogic.sh 7022server

  4. Copy the PortalServer_base/SUNWportal/template/Webcontainer.properties.BEAWL8 file to a PortalServer_base/SUNWportal/bin/secondportal.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 is installed on the administrator server itself.

  6. Create the new portal.

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

  7. Restart the web container.

  8. Verify that the new portal has been created.

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