

CA Risk Authentication Windows Installation Guide › How to Deploy CA Risk Authentication on Distributed System › How to Prepare the Application Server › Copy Database Access Files to the Application Server
Copy Database Access Files to the Application Server
UDS and Administration Console use the following files to access the database securely:
You copy these files to the appropriate location on the application server where you have deployed the CA Risk Authentication components.
Apache Tomcat
To copy the files, perform the following steps:
- Copy arcot-crypto-util.jar to <Tomcat_JAVA_HOME>\jre\lib\ext\.
Note: Here, <Tomcat_JAVA_HOME> represents the JAVA_HOME used by your Apache Tomcat instance.
- Copy ArcotAccessKeyProvider.dll to <Tomcat_JAVA_HOME>\jre\bin\.
- Restart the application server.
IBM WebSphere
To copy the files, perform the following steps:
- Log in to WebSphere Administration Console.
- Click Environment, and click Shared Libraries.
- Select a valid visibility scope. The scope must include the target server or node on which the application is deployed.
- Click New.
- Enter the Name.
Example: ArcotJNI.
- Specify the Classpath.
This path must point to the location where the arcot-crypto-util.jar file is present and must include the file name.
Example: C:\Program Files\Arcot Systems\java\lib\arcot-crypto-util.jar.
- Enter the JNI Library path.
This path must point to the location where the ArcotAccessKeyProvider.dll file is present.
- Click Apply to save the changes.
- Configure the server-level class loaders.
- Navigate to Servers, Server Types, WebSphere Application Servers.
- Under Application Servers, access the settings page of the server.
- Click Java and Process Management and then click Class Loader.
- Click New.
- Select default Classes loaded with parent class loader, and click OK.
- Click the auto-generated Class Loader ID.
- On the class loader Configuration page, click Shared Library References.
- Click Add, select ArcotJNI, and then click Apply.
- Save the changes.
- Copy ArcotAccessKeyProvider.dll to <WebSphere_JAVA_HOME>\jre\bin\.
Here, <WebSphere_JAVA_HOME> represents the JAVA_HOME used by your IBM WebSphere instance.
- Restart WebSphere.
Oracle WebLogic
To copy the files, perform the following steps:
- Copy ArcotAccessKeyProvider.dll to <WebLogic_JAVA_HOME>\jre\bin\.
Here, <WebLogic_JAVA_HOME> represents the JAVA_HOME used by your Oracle WebLogic instance.
- Copy arcot-crypto-util.jar to <WebLogic_JAVA_HOME>\jre\lib\ext\.
Note: Ensure that you use the appropriate <JAVA_HOME> used by WebLogic.
- Log in to WebLogic Administration Console.
- Navigate to Deployments.
- Enable the Lock and Edit option.
- Click Install and navigate to the directory that contains the arcot-crypto-util.jar file.
- Click Next to open the Application Installation Assistant.
- Click Next to open the Summary page.
- Click Finish.
- Activate the changes.
- Restart the server.
JBoss Application Server
To copy the files, perform the following steps:
- Copy ArcotAccessKeyProvider.dll to <JBoss_JAVA_HOME>\jre\bin\.
Note: Here, <JBoss_JAVA_HOME> represents the JAVA_HOME used by your JBoss Application Server instance.
- 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 :
- arcot-crypto-util.jar.
- bcprov-jdk15-146.jar
- 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.
Copy JDBC JAR Files to the Application Server
CA Risk Authentication requires the following JDBC JAR files for the supported databases:
- Oracle 10g: Oracle JDBC Driver (10.2.0.1.0)
- Oracle 11g: Oracle JDBC Driver (11.2.0.2.0)
- Microsoft SQL Server: MSSQL JDBC Driver (1.2.2828)
- MySQL: MySQL JDBC Driver (5.1.22)
The following sections walk you through the steps for copying the JDBC JAR required for your database to the following application server:
Apache Tomcat
To copy the required JDBC JAR file, do the following:
- Navigate to the location where you have downloaded the <Database_JAR> file.
- Copy the <Database_JAR> file to the following directory:
- On Apache Tomcat 5.5.x: <TOMCAT_HOME>\common\lib\
- On Apache Tomcat 6.x and 7.x: <TOMCAT_HOME>\lib\
- Restart the application server.
IBM WebSphere
To copy the required JDBC JAR file do the following:
- Log in to the WebSphere Administration Console.
- Click Environment, and click Shared Libraries. Perform the following steps:
- From the Scope list, select a valid visibility scope. The scope must include the target server or node on which the application is deployed.
- Click New.
- Enter the Name, say, JDBCJAR.
- Specify the Classpath.
Important! This path must point to the location where the <Database_JAR> file is present and must include the file name.
- Click Apply.
- To configure server-level class loaders, do the following steps:
- Navigate to Servers, Server Types, WebSphere Application Servers .
- Under Application Servers, access the settings page of the server for which the configuration is performed.
- Click Java and Process Management, and Class Loader.
- Click New.
- Select default Classes loaded with parent class loader first.
Click OK.
- Click the auto-generated Class Loader ID.
- Click Shared Library References.
- Click Add, select JDBCJAR, and click Apply.
- Save the changes.
- Restart the application server.
Oracle WebLogic
To copy the required JDBC JAR file do the following steps:
Note: If you are using Oracle database, then do not perform the configurations that are mentioned in this section, because WebLogic supports Oracle database by default.
- Copy the <Database_JAR> file to <Weblogic_JAVA_HOME>\lib\ext\.
Here, <WebLogic_JAVA_HOME> represents the JAVA_HOME used by your Oracle WebLogic instance.
- Log in to the WebLogic Administration Console.
- Navigate to Deployments.
- Enable the Lock and Edit option.
- Click Install and navigate to the directory that contains the required <Database_JAR> file.
- Click Next to display the Application Installation Assistant page.
- Click Next to display the Summary page.
- Click Finish.
- Activate the changes.
- Restart the application server.
JBoss Application Server
To copy the required JDBC JAR file, do the following steps:
Follow these steps:
- Create a folder structure as <JBOSS_HOME>\modules\advauth-jdbc-driver\main\ and copy JDBC Jar file in this folder location.
- Create a file in with the name module.xml at the following location: <JBOSS_HOME>\modules\advauth-jdbc-driver\main\
- Add the following codes to the file:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="advauth-jdbc-driver">
<resources>
<resource-root path="<JDBC Jar Name>"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
- Edit the tag ‘<JDBC Jar Name>’with JDBC Jar file name.
Example:sqljdbc.jar
Restart the application server.
Create Enterprise Archive Files
Valid on Oracle WebLogic 10.1
By default, WAR files are provided to deploy UDS and Administration Console. If necessary, you can also change the format of these files to Enterprise ARchive (EAR) and then deploy the EAR files.
You can generate separate EAR files for both UDS and Administration Console, or you can generate a single EAR file that contains both Web archives.
Generate Separate EAR Files
Follow these steps:
- Open the Command Prompt window.
- Navigate to the <install_location>\Arcot Systems\tools\common\bundlemanager\ directory.
- To create the EAR file, run the following command:
java -jar bundle-manager.jar -ear <filename.ear> -warList <filename.war>
The command generates individual EAR files that are available at:
<install_location>\Arcot Systems\java\webapps\
Generate a Single EAR File
Do the following steps:
- Open the Command Prompt window.
- Navigate to the <install_location>\Arcot Systems\tools\common\bundlemanager\ directory.
- To create the EAR file, run the following command:
java -jar bundle-manager.jar -ear <filename.ear> -warList arcotadmin.war arcotuds.war
The command generates a single EAR file that is available at:
<install_location>\Arcot Systems\java\webapps\
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|