31.3 Preparing Your Application Server for the Identity Applications

You should prepare the application server that will run the identity applications. For your convenience, NetIQ provides Apache Tomcat in the installation kit. For more information about using the applications in a cluster environment, also see Section 31.4, Preparing a Cluster for the Identity Applications.

31.3.1 Preparing a JBoss Environment

Before installing the identity applications on a JBoss application server, review the following actions and considerations:

31.3.2 Preparing a Tomcat Environment

This section describes how to prepare an environment where you want to run the identity applications on Tomcat. The .iso for installing Identity Manager includes a program for installing Tomcat (and optionally PostgreSQL). For more information, see Section 25.0, Installing PostgreSQL and Tomcat.

You can use your own Tomcat installation program instead of using the convenience installer provided in the installation package. However, if you do use a different installation program, there are additional steps you must perform for Tomcat to function correctly with the Identity Applications.

Before you start the installation process, ensure that the versions of the components you are installing are supported with this version of the Identity Applications. For more information, see Section 28.3, Prerequisites and Considerations for Installing the Identity Applications.

  1. Install Apache Tomcat as a service on your server.

    For more information, see Tomcat Setup.

  2. Install the following components on the same server where you installed Tomcat.

  3. Copy the activemq-all-5.9.0.jar file to the TOMCAT_INSTALLED_HOME/lib folder for ActiveMQ.

  4. Copy the following files to the TOMCAT_INSTALLED_HOME/lib folder for logging.

    • log4j.jar

    • log4j.properties

    • tomcat-juli-adapters.jar

  5. Set the following properties in the setenv.bat (Windows) or setenv.sh (Linux) file.

    JAVA_HOME
    JRE_HOME
    PATH (set Java path)
    JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=512m"
  6. Create a user with the name novlua and create a group with the name novlua.

    This allows you to run Tomcat as a non-root user. For more information, see A Guide To Apache Tomcat Linux Installation and Set-Up.

  7. Make the novlua user and novlua group owners of the Tomcat files.

  8. Copy the postgresql-9.3-1101.jdbc41.jar file to the /TOMCAT_INSTALLED_HOME/lib folder.

  9. (Conditional) In a cluster environment, open the server.xml file located by default in the /TOMCAT_INSTALLED_HOME/conf/ directory in the first node of the cluster and uncomment this line:

    <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>

    Do this for all nodes in the cluster.

    For advanced Tomcat clustering configuration, follow the steps from https://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html.

After you have installed Tomcat and the Identity Applications, you can tune Tomcat to function more effectively. For more information, see Section 32.5, Post-Installation Steps for Tomcat.

31.3.3 Preparing a WebSphere Environment

This section describes how to prepare an environment where you want to run the identity applications on WebSphere.

Configuring a Data Source for the Identity Applications Database on WebSphere

The installation process for the identity applications requires an existing data source file that points to the database. For WebSphere environments, you must manually create a JDBC Provider and a data source file.

  1. Open the Integrated Solutions Console, which allows you to configure and administer WebSphere Application Server (WAS). By default, http://host_name:9060/ibm/console.

  2. In the left pane of the console, expand Resources > JDBC.

  3. To create the JDBC provider, complete the following steps:

    1. Click JDBC providers.

    2. In the content pane, expand Scope.

    3. Select Node=yourservername, Server=server1.

    4. Click New.

    5. For Database Type, specify the type of database you plan to use. For example, Oracle.

    6. Click Next.

    7. Specify the classpath for the JDBC provider.

    8. Click Next.

    9. Click Finish.

    10. Click Save to save the changes directly to the master configuration.

  4. To create the data source file, complete the following steps:

    1. Click Data sources (in the left pane under JDBC).

    2. In the content pane, expand Scope.

    3. Select Node=yourservername, Server=server1.

    4. Click New.

    5. Specify the name of the data source file and the JNDI. For example, IDMUADatasource for both fields.

    6. Click Next.

    7. Click Select an existing JDBC provider.

    8. Select the JDBC Provider that you created in Step 3.

    9. Click Next.

    10. Specify the name, server name, port, username, and password for the database.

    11. Click Next.

    12. (Optional) Specify information for the Security Alias.

    13. Click Next.

    14. Click Finish.

    15. Click Save.

    16. In the Data Sources pane, click the box to the left of your new data source file.

    17. To verify the settings, click Test Connection.

Applying Unrestricted Policy Files to the IBM JDK

In a WebSphere environment, the identity applications require that you apply the unrestricted policy files to the supported IBM JDK. Otherwise, the identity applications report the error Illegal key size.

To apply the files, see the documentation for IBM and WebSphere. Ensure sure that you use the correct JDK version. Also, place the JAR file for unrestricted policy files in the JAVA_HOME\jre\lib\security directory.

Configuring a WebSphere Cluster

For more information about installing the identity applications in a WebSphere cluster, see the following sections: