Sun Identity Manager 8.1 Installation

Chapter 8 Installing Identity Manager on JBoss

Follow these steps to install Identity Manager on the JBoss application server:

Step 1: Install the Identity Manager Software

ProcedureTo Install Identity Manager on JBoss

Before You Begin

If you are installing multiple instances of Identity Manager on a single application server, change the waveset.serverId system property to a unique name for each Identity Manager instance. By default, the waveset.serverId Java system property is the name of the machine the application server is installed on. To set this property to another value, add the following command to the startup script for your application server.


  1. Set the environment variables JAVA_HOME and WSHOME:

    set JAVA_HOME=/PathTo/java set WSHOME=Path To IDM Directory

    Note –

    Make sure the value of the WSHOME environment variable does NOT contain the following:

    • Quotation marks (" ")

    • A slash or backslash at the end of the path (/ or \)

    Do not use quotation marks, even if the path to the application deployment directory contains spaces.

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

      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.

    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.

  3. Click Next to display the Install or Upgrade? panel.

  4. Leave the New Installation option selected, and then click Next.

    The installer displays the Select Installation Directory panel.

  5. Replace the displayed directory location with a staging directory. Enter the location (or click Browse to locate it), and then click Next.

    Note –

    If the directory you enter does not exist, the installer prompts for confirmation, and then creates the directory.

  6. Click Next to begin installation.

    After installing files, the installer displays the Launch Setup panel.

  7. Add the Java mail.jar and activation.jar files to the $WSHOME/WEB-INF/lib directory (UNIX), or the %WSHOME%\WEB-INF\lib directory (Windows). These files can be found at:

    Note –

    Before you continue, if you plan to use a 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 Appendix C, Database Reference. If you are planning to use a Data Source as your repository location, see the special instructions in Appendix D, Configuring Data Sources for Identity Manager.

    When finished, click Launch Setup to launch the Setup Wizard and continue with setup steps. If you click Launch Setup before copying your 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.

  8. Click Next on the Setup Wizard panel.

    The product displays the Locate the Repository panel.

  9. Select a database from the list provided. Depending on your selection, setup prompts for additional setup information.

    See Appendix C, Database Reference, for selections and setup instructions.

  10. Click Next.

    The Continue Identity Manager Demo Setup? panel appears.

  11. If this is a non-demo installation, click No, I will configure Identity Manager myself. Go to Step 2: Install Optional Components.

    Otherwise, if appropriate, click Yes, I would like to continue setting up a demonstration environment. This option allows you to quickly configure users and enter environment and server information.

  12. Enter the following personal information:

    • First name

    • Last name

    • Email address

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

  13. Enter the following Approver information:

    • Approver name

    • Approver password

  14. Click Next.

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

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

  17. If you would like email notifications to be written to a file, click Notification File. Click Browse to select another notification file.

  18. Click Next.

    The installer displays the Import Save Configuration panel.

  19. Click Execute to perform all the listed functions. If desired, click Hide Details.

  20. When all functions complete, click Done in the setup panel.

    When installation completes, the installer displays the Installation Summary panel. For detailed information about the installation, click Details.

    Not all messages may not be displayed here. View the log file (identified in details) for more information.

    When finished, click Close to exit the installer.

  21. Create a .war file from WSHOME:

    jar -cvf idm.war *

  22. Copy the idm.war file to the JBoss deploy directory. (For example, InstallDir\server\default\deploy)

  23. 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 *

Step 2: Install Optional Components

If your IT environment has Windows Active Directory, Novell NetWare, Domino, Remedy, or RSA ACE/Server resources, you should install the Identity Manager Gateway.

If your IT environment has Windows Active Directory domains, you should also install PasswordSync. The Identity Manager PasswordSync feature keeps user password changes made on Windows Active Directory domains synchronized with other resources defined in Identity Manager.

See Part III, Installing Optional Components for installation information.