Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun[TM] Identity Manager 8.0 Installation Guide 

Chapter 3
Installing Identity Manager for Tomcat

Use the following information and procedures to install Identity Manager for use with the Apache Tomcat application server.:


Before You Begin

During installation, you will need to know:


Installation Steps

Follow these installation and configuration steps:

Step 1: Install the Tomcat Software


Note

Steps in this chapter that outline Tomcat installation are for general reference only. For detailed information about installing Tomcat, refer to the Web page or reference information provided by the application server software provider.


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:

  1. Specify the Tomcat installation location.
  2. Select to start Tomcat as a service, and then select the port to run on. The default port is 8080.

Installing on UNIX

  1. After downloading and unpacking the Tomcat installation bundle, modify the Tomcat startup script by using this procedure:
  2. 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

  3. 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:
  4. <!-- 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" />

  5. 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

  1. You may install the software using one of two methods:
    • Using the installer Graphic User Interface

      Run the install.bat (for Windows) or install (for UNIX) command to launch the installation process.

      If you copy the files from the installation media to your own location, note that the idm.war and install.class files must be in the same directory.

      The installer displays the Welcome panel.

    • Using the nodisplay option (UNIX only)

      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.


      Note

      If no display is present, the installer defaults to the nodisplay option. The DISPLAY environment variable must be set to a valid X server or the installation may fail.


  2. Click Next to display the Install or Upgrade? panel.
  3. Leave the New Installation option selected, and then click Next.
  4. The installer displays the Select Installation Directory panel.

  5. 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.

  6. Note

    • Unless you plan to create a new context (virtual directory) in Tomcat's server.xml directory, we recommend installing to %TOMCAT_HOME%\webapps\idm.
    • If the directory you enter does not exist, the installer prompts for confirmation, and then creates the directory.

  7. Click Next to begin installation.
  8. After installing files, the installer displays the Launch Setup panel.

  9. Add the Java mail.jar, activation.jar, and jms.jar files to the $WSHOME/WEB-INF/lib directory. These files can be found at:
  10. 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.


  11. Click Next on the Setup Wizard panel.
  12. The product displays the Locate the Repository panel.

  13. Select an index database from the list provided. Depending on your selection, setup prompts for additional setup information.
  14. See Index Database Reference, for selections and setup instructions.

  15. Click Next.
  16. The Continue Identity Manager Demo Setup? panel appears.
  17. If this is a non-demo installation, click No, I will configure Identity Manager myself. Go to Step 20.
  18. If appropriate, click Yes, I would like to continue setting up a demonstration environment.
  19. This allows you to quickly configure users and enter environment and server information.

  20. Enter the following personal information:
    • First name
    • Last name
    • Email address

    • Note

      This personal information is used to create the Approver user (with configurator privileges.)


  21. Enter the following Approver information:
    • Approver name
    • Approver password
  22. Click Next.
  23. Select the Server Type from the list.
  24. 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.

  25. 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.
  26. If you would like email notifications to be written to a file, click Notification File. Click Browse to select another notification file.
  27. Click Next.
  28. The installer displays the Import Save Configuration panel.
  29. Click Execute to perform all the listed functions. If desired, click Hide Details.
  30. When all functions complete, click Done in the setup panel.
  31. 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.
  32. 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.



Previous      Contents      Index      Next     


Part No: 820-2956-10.   Copyright 2008 Sun Microsystems, Inc. All rights reserved.