Sun Java System Portal Server 7.1 Configuration Guide

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