Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Install Access Manager on a BEA WebLogic Managed Server

In this section, you install Access Manager on a managed server of BEA WebLogic.

  1. Install BEA WebLogic 8.1 using the installer.

  2. Create WebLogic domain and start 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. Create a managed server.

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

  6. Start the Directory Server instance.

  7. Install Access Manager in the Configure Later mode.

  8. Customize the amsamplesilent file.

    The amsamplesilent file is located in the following directories:

    • Solaris platform: /AccessManager_base/SUNWam

    • Linux platform: /AccessManager_base/sun/identity

    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 =MANAGED_SERVER_INSTANCE_PORT

    • 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., for example, /opt

    • 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 WebLogic 8.1 service pack 4 or $WL8_HOME/jdk/142_08 for WebLogic 8.1 service pack 5

  9. Run the following command.

    AccessManager_base/bin/amconfig -s amsamplesilent

  10. Log in to the WebLogic administrator console.

  11. Deploy the Access Manager war files, such as amserver.war, ampassword.war, amconsole.war, and amcommon.war available in the AccessManager_base directory.

    1. In the 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.

    2. In the 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.

    3. (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.

    4. (Optional) 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

  12. Restart WebLogic server and access the administrator console.

    http://host.domain-name:managed-server-port/amconsole