Sun Java System Portal Server 7.1 Configuration Guide

Installing Portal Server on BEA WebLogic 8.1

ProcedureTo Install BEA WebLogic 8.1, Directory Server, and Access Manager

  1. Install BEA WebLogic 8.1.

  2. Create the WebLogic domain and start the administrator server.

    /usr/local/bea/user_projects/domains/domain1/startWebLogic.sh

  3. Access the administrator server of BEA WebLogic.

    http://host.domain-name:7001

  4. Install Directory Server, Java DB 10. 2 and Web Server using the Java ES installer in the Configure Now mode.

  5. Start Directory Server instance.

ProcedureTo Install Access Manager on a WebLogic Administrator Server

  1. Install Access Manager in the Configure Later mode using the Java ES installer.

    1. Customize the amsamplesilent file.

      The amsamplesilent file is located in the following directories:

      • Solaris: /AccessManager_base/SUNWam/bin

      • Linux: /AccessManager_base/sun/identity/bin

      Set the values in the amasamplesilent file as follows:

      • DEPLOY_LEVEL = 1

      • SERVER_NAME =AM_HOSTNAME without FQDN

      • SERVER_HOST = $SERVER_NAME.domain-name

      • SERVER_PORT = 7001

      • ADMIN_PORT = 7001

      • DS_HOST =DS_HOSTNAME with FQDN

      • DS_DIRMGRPASSWD = Directory Manager Password

      • ROOT_SUFFIX = root suffix of Access Manager

      • ADMINPASSWD = AM_PASSWORD

      • AMLDAPUSERPASSWD = LDAP_PASSWORD

      • COOKIE_DOMAIN =.domain-name

      • AM_ENC_PWD =any string of 12 characters

      • NEW_OWNER = root

      • NEW_GROUP = other (root for the Solaris 10 release and linux and other for the Solaris 9 release)

      • PAM_SERVICE_NAME = other

      • WEB_CONTAINER = WL8

      • BASEDIR =Access Manager install directory

      • AM_REALM = disabled

      • WL8_HOME =WebLogic Install Directory., for example, /usr/local/bea.

      • WL8_PROJECT_DIR = user_projects

      • WL8_DOMAIN = Domain name., for example, mydomain)

      • WL8_CONFIG_LOCATION = $WL8_HOME/$WL8_PROJECT_DIR/domains

      • WL8_SERVER =Instance name. For example, myserver

      • WL8_PROTOCOL = $SERVER_PROTOCOL

      • WL8_HOST = $SERVER_HOST

      • WL8_PORT = $SERVER_PORT

      • WL8_SSLPORT = $ADMIN_PORT

      • WL8_ADMIN =Administrator name of WebLogic. For example, weblogic.

      • WL8_PASSWORD =WebLogic administrator password.

      • WL8_JDK_HOME = $WL8_HOME/jdk142_05 for 8.1 sp4 or $WL8_HOME/jdk/142_08 for 8.1sp5

    2. Run the AccessManager_base/bin/amconfig -s amsamplesilent script.

      The amsamplesilent file is located in the following directories:

      • Solaris: /AccessManager_base/SUNWam/bin

      • Linux: /AccessManager_base/sun/identity/bin

    3. Edit the startweblogic.sh and startManagedweblogic.sh scripts and add the following to the classpath: /opt/SUNWjavadb/lib/derbyclient.jar.

      For Linux, the derbyclient.jar file is located at the /opt/sun/javadb/lib directory.

    4. In the startweblogic.sh and startManagedweblogic.sh scripts, remove the following classpaths: AccessManager_base/SUNWam/lib/jaxrpc_1.0/jaxrpc-api.jar and AccessManager_base/SUNWam/lib/jaxrpc_1.0/jarpc-ri.jar.

    5. In the startweblogic.sh and startManagedweblogic.sh scripts, add the following classpaths: AccessManager_base/SUNWam/lib/jaxrpc-api.jar, AccessManager_base/SUNWam/lib/jaxrpc-impl.jar, and AccessManager_base/SUNWam/lib/jaxrpc-spi.jar.

    6. (Optional) For Linux, remove the following classpaths: AccessManager_base/identity/lib/jaxrpc_1.0/jaxrpc-api.jar and AccessManager_base/identity/lib/jaxrpc_1.0/jarpc-ri.jar from the startweblogic.sh and startManagedweblogic.sh scripts.

    7. For Linux, add the following classpaths: AccessManager_base/identity/lib/jaxrpc-api.jar, AccessManager_base/identity/lib/jaxrpc-impl.jar, and AccessManager_base/identity/lib/jaxrpc-spi.jar

  2. Restart WebLogic and access the following URL.

    http://host.domain-name:7001/amconsole

ProcedureTo Install Portal Server on a WebLogic Administrator Server in the Configure Now Mode

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

  2. Choose WebLogic as the web container for Portal Server.


    Note –

    In the Portal Server web container panel, ensure that the Managed Server option is not selected. Also, ensure that both the administrator and server ports are 7001.


  3. Restart WebLogic server after the successful installation of Portal Server.

Post Installation Steps

  1. Access the WebLogic administrator console.

    http://hostname.domain-name:7001/console

  2. Deploy the portal web applications.

  3. Deploy the portal.war, communityportlets.war, search.war, and the remaining web applications.

  4. Restart the WebLogic server.

ProcedureTo Install Portal Server on a WebLogic Administrator Server in the Configure Later Mode

  1. Install Portal Server in the Configure Later mode using the Java ES installer.

  2. Complete the Portal Server installation.

  3. Change the example files based on the requirements.


    Note –

    You can use the example15.xml file to configure Portal Server and search server on WebLogic. In the example15.xml file, make sure both the Port and web container administrator port are set to 7001 and web container managed server is set to false.


  4. Configure the common agent container.

    PortalServer_base/bin/psconfig --config example15.xml

    The psconfig utility is located in the PortalServer_base/SUNWportal/bin directory on the Solaris platform. For Linux, it is in the /PortalServer_base/sunportal/bin directory.

    The example files are located in the PortalServer_base/samples/psconfig directory for the Solaris platform and PortalServer_base/samples/psconfig directory for Linux.

Post-Installation Steps

  1. Access the WebLogic administrator console.

    http://hostname.domain-name:7001/console

  2. Deploy the portal web applications.

  3. Deploy portal.war, communityportlets.war, search.war, and the remaining web applications.

  4. Restart the WebLogic server.