Previous Topic: Set Java HomeNext Topic: Copy the JDBC JAR Files to Application Server


Copy Database Access Files to Application Server

UDS and Administration Console use the following files to access the CA Risk Authentication database securely:

As a result, copy these files to the appropriate location on the application server where you have deployed the CA Risk Authentication components. The following subsections provide information about copying these files for:

Apache Tomcat

Follow these steps:

  1. Copy arcot-crypto-util.jar to <Tomcat_JAVA_HOME>\jre\lib\ext\.
    <Tomcat_JAVA_HOME>

    Specifies the JAVA_HOME used by your Apache Tomcat instance.

  2. Copy ArcotAccessKeyProvider.so to one of the following location:
  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

Follow these steps:

  1. Log in to WebSphere Administration Console.
  2. Click Environment, and click Shared Libraries.
    1. From the Scope drop-down, select a valid visibility scope. Include the target server or node on which the application is deployed.
    2. Click New.
    3. Enter the Name.

      Example: ArcotJNI.

    4. Enter 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.

      Example: nstall_location/arcot/java/lib/arcot-crypto-util.jar.

    5. Enter the JNI Library path.

      This path must point to the location where the ArcotAccessKeyProvider.dll file is present.

  3. Click Apply.
  4. Configure the server-level class loaders.
    1. Navigate to Servers, Server Types, WebSphere Application Servers.
    2. Under Application Servers, access the settings page of the server.
    3. Select Java and Process Management. Select Class Loader.
    4. Select New.
    5. Select default Classes loaded with parent class loader first, and click OK.
    6. Select the auto-generated Class Loader ID.
    7. Select Shared Library References.
    8. Select Add and select ArcotJNI. Click Apply.
    9. Save the changes.
  5. Copy ArcotAccessKeyProvider.so to one of the following location:

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

  6. Restart the application server.

Oracle WebLogic

Follow these steps:

  1. Copy ArcotAccessKeyProvider.so to one of the following location:

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

  2. Copy arcot-crypto-util.jar to <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. Select Install. Navigate to the directory that contains the arcot-crypto-util.jar file.
  7. Press Enter.
  8. Press Enter to display the Summary page.
  9. Select 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

Follow these steps:

  1. Copy libArcotAccessKeyProvider.so to:

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

  2. Create a folder structure as <JBOSS_HOME>\modules\advauth-admin-libs\main\ and copy the following JARs from <ARCOT_HOME>\java\lib to this folder:
  3. Create a file with the name module.xml in the same folder location (<JBOSS_HOME>\modules\advauth-admin-libs\main\) with the following codes:
    <?xml version="1.0" encoding="UTF-8"?>
    <module xmlns="urn:jboss:module:1.1" name="advauth-admin-libs">
    <resources>
    <resource-root path="arcot-crypto-util.jar"/> 
    <resource-root path="bcprov-jdk15-146.jar"/> 
    </resources>
        <dependencies>
            <module name="javax.api"/>
        </dependencies>
    	              </module>
    

Restart the application server.