In this section, you install Access Manager on a managed server of BEA WebLogic.
Install BEA WebLogic 8.1 using the installer.
Create WebLogic domain and start administrator server.
/usr/local/bea/user_projects/domains/domain1/startWebLogic.sh
Access the administrator server of BEA WebLogic.
http://host.domain-name:7001
Create a managed server.
Start the Java ES installer. Install Directory Server, Java DB 10. 2 and Web Server in the Configure Now mode.
Start the Directory Server instance.
Install Access Manager in the Configure Later mode.
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
Run the following command.
AccessManager_base/bin/amconfig -s amsamplesilent
Log in to the WebLogic administrator console.
Deploy the Access Manager war files, such as amserver.war, ampassword.war, amconsole.war, and amcommon.war available in the AccessManager_base directory.
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.
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.
(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.
(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
Restart WebLogic server and access the administrator console.
http://host.domain-name:managed-server-port/amconsole