Previous Topic: Step 1: Setting Java HomeNext Topic: Step 3: Copying JDBC JAR Files to Your Application Server


Step 2: Copying Database Access Files to Your Application Server

UDS and Administration Console use the following files to access the RiskMinder database securely:

Apache Tomcat

To copy the files that are required for database access:

  1. Copy arcot-crypto-util.jar to Tomcat_JAVA_HOME/jre/lib/ext/.

    Here, Tomcat_JAVA_HOME represents the JAVA_HOME used by your Apache Tomcat instance.

  2. Copy libArcotAccessKeyProvider.so to:
  3. Set and export the LD_LIBRARY_PATH to the directory where the libArcotAccessKeyProvider.so file is copied.
  4. Restart the application server.

IBM WebSphere

To copy the files that are required for database access:

  1. Log in to WebSphere Administration Console.
  2. Click Environment, and then click Shared Libraries.
    1. From the Scope drop-down, select a valid visibility scope. The scope must include the target server or node on which the application is deployed.
    2. Click New.
    3. Enter the Name, for example, ArcotJNI.
    4. Specify the Classpath.

      This path must point to the location where the arcot-crypto-util.jar file is present and must also include the file name. For example, install_location/arcot/java/lib/arcot-crypto-util.jar.

    5. Enter the JNI Library path.

      This path must point to the location where the libArcotAccessKeyProvider.so file is present.

  3. Click Apply to save the changes.
  4. Configure the server-level class loaders.
    1. Click Servers, and then click Application Servers.
    2. Under Application Servers, access the settings page of the server for which the configuration must be performed.
    3. Click Java and Process Management and then click Class Loader.
    4. Click New.
    5. Select the option "default Classes loaded with parent class loader first" and click OK.
    6. Click the auto-generated Class Loader ID.
    7. On the class loader Configuration page, click Shared Library References.
    8. Click Add, select ArcotJNI, and then click Apply.
    9. Save the changes.
  5. Copy libArcotAccessKeyProvider.so to:

    Here, WebSphere_JAVA_HOME represents the JAVA_HOME used by your IBM WebSphere instance.

  6. Restart the application server.

Oracle WebLogic

To copy the files that are required for database access:

  1. Copy libArcotAccessKeyProvider.so to:

    Here, Weblogic_JAVA_HOME represents the JAVA_HOME used by your Oracle WebLogic instance.

  2. Copy arcot-crypto-util.jar to the WebLogic folder WebLogic_JAVA_HOME/jre/lib/ext/.

    Note: Ensure that you use the appropriate JAVA_HOME used by WebLogic.

  3. Log in to WebLogic Administration Console.
  4. Navigate to Deployments.
  5. Enable the Lock and Edit option.
  6. Click Install and navigate to the directory that contains the arcot-crypto-util.jar file.
  7. Click Next to open the Application Installation Assistant.
  8. Click Next to display the Summary page.
  9. Click Finish.
  10. Activate the changes.
  11. Set and export the LD_LIBRARY_PATH to the directory where the libArcotAccessKeyProvider.so file is copied.
  12. Restart the application server.

JBoss Application Server

To copy the files that are required for database access:

  1. Copy libArcotAccessKeyProvider.so to:

    Here, JBoss_JAVA_HOME represents the JAVA_HOME used by your JBoss Application Server instance.

  2. Copy arcot-crypto-util.jar to JBoss_JAVA_HOME/jre/lib/ext/.
  3. Set and export the LD_LIBRARY_PATH to the directory where the libArcotAccessKeyProvider.so file is copied.
  4. Restart the application server.