Sun[TM] Identity Manager 8.0 Installation Guide |
Chapter 3
Installing Identity Manager for TomcatUse the following information and procedures to install Identity Manager for use with the Apache Tomcat application server.:
Before You BeginDuring installation, you will need to know:
Installation StepsFollow these installation and configuration steps:
Step 1: Install the Tomcat Software
Install the Tomcat software according to the instructions provided by the application server provider. You may find helpful information at the Jakarta Project site, at http://jakarta.apache.org/tomcat/ .
Installing on Windows
If you are installing from the Tomcat installer:
Installing on UNIX
- After downloading and unpacking the Tomcat installation bundle, modify the Tomcat startup script by using this procedure:
In the setclasspath.sh file in the $TOMCAT_HOME/bin directory, add these lines to the top of the file:
JAVA_HOME=Location of a JDK
BASEDIR=Location of your unpacked Tomcat
export JAVA_HOME BASEDIR- When configuring Tomcat to support UTF-8, add the URIEncoding="UTF-8" attribute to the connector element in the TOMCAT DIRconf/server.xml file, for example:
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified during installation -->
<Connector port="8080"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
disableUploadTimeout="true"
URIEncoding="UTF-8" />- When configuring Tomcat to support UTF-8, also add -Dfile.encoding=UTF-8 in your java vm options.
Step 2: Install the Identity Manager Software
- You may install the software using one of two methods:
Change directory to the Identity Manager software location. Enter the following command to activate the installer in nodisplay mode:
install -nodisplay
The installer displays the Welcome text. The installer then presents a list of questions to gather installation information in the same order as the Graphic User Interface installer in these procedures.
- Click Next to display the Install or Upgrade? panel.
- Leave the New Installation option selected, and then click Next.
The installer displays the Select Installation Directory panel.
- Replace the displayed directory location with the location where you want to install Identity Manager. This could be a staging location or a specific folder. Enter the location (or click Browse to locate it), and then click Next.
- Click Next to begin installation.
After installing files, the installer displays the Launch Setup panel.
- Add the Java mail.jar, activation.jar, and jms.jar files to the $WSHOME/WEB-INF/lib directory. These files can be found at:
http://java.sun.com/products/javamail
http://java.sun.com/products/beans/glasgow/jaf.html
http://java.sun.com/products/jms/index.jsp
Caution
Before you continue, if you plan to use an index database, you may need to copy one or more files to the idm/WEB-INF/lib directory. For example, you may need to place into idm/WEB-INF/lib a JAR file containing a JDBC driver (for a DriverManager connection) or a JAR file containing a JNDI InitialContextFactory (for a DataSource connection). To determine the steps you may need to perform before you go on, see Index Database Reference. When finished, click Launch Setup to launch the Setup Wizard and continue with setup steps.
If you click Launch Setup before copying your index database files, setup will not proceed correctly. If this happens, quit the installation program, and then use the lh setup command to restart the setup portion of the installation process.
- Click Next on the Setup Wizard panel.
The product displays the Locate the Repository panel.
- Select an index database from the list provided. Depending on your selection, setup prompts for additional setup information.
See Index Database Reference, for selections and setup instructions.
- Click Next.
- The Continue Identity Manager Demo Setup? panel appears.
- If this is a non-demo installation, click No, I will configure Identity Manager myself. Go to Step 20.
- If appropriate, click Yes, I would like to continue setting up a demonstration environment.
This allows you to quickly configure users and enter environment and server information.
- Enter the following personal information:
- Enter the following Approver information:
- Click Next.
- Select the Server Type from the list.
Select None if your environment has no server to manage. If there is a server you wish to manage, select the appropriate server type. You will be prompted for further server information as appropriate.
- If you have an email SMTP server, click SMTP Host and enter the server address. If desired, click Test Server to verify communication to the SMTP server.
- If you would like email notifications to be written to a file, click Notification File. Click Browse to select another notification file.
- Click Next.
- The installer displays the Import Save Configuration panel.
- Click Execute to perform all the listed functions. If desired, click Hide Details.
- When all functions complete, click Done in the setup panel.
- If the application server is installed on a UNIX machine, change directories to the $WSHOME/bin directory and run the following command to allow the scripts in this directory to be executed.
chmod -R +x *
Getting More Information
When installation completes, the installer displays the Installation Summary panel. For detailed information about the installation, click Details.
Some messages may not be displayed here. View the log file (identified in details) for more information.
When finished, click Close to exit the installer.
Step 3: Install the Sun Identity Manager Gateway
If you plan to set up Windows Active Directory, Novell NetWare, Domino, Remedy, or RSA ACE/Server resources, you should install the Sun Identity Manager Gateway. Follow the procedures in Install the Sun Identity Manager Gateway.