Table of Contents

Search

  1. Preface
  2. Introduction to Dynamic Data Masking Administration
  3. Authentication
  4. Security
  5. Connection Management
  6. JDBC Client Configuration
  7. ODBC Client Configuration
  8. Access Control
  9. Logs
  10. High Availability
  11. Server Control
  12. Performance Tuning
  13. Troubleshooting
  14. Appendix A: Database Keywords

Administrator Guide

Administrator Guide

Configure Apache Tomcat for Linux

Configure Apache Tomcat for Linux

Complete the following steps to configure Apache Tomcat for Linux:
  1. Copy the GenericJDBC.jar file. You can find the file in the following location:
    <Dynamic Data Masking installation>/Wrappers/jdbc/GenericJDBC.jar
  2. Save the GenericJDBC.jar file in the following location:
    <Apache Tomcat installation>/lib
  3. Find the catalina.sh file. You can find the file in the following directory:
    <Apache Tomcat installation>/bin/catalina.bat
  4. Save a backup of the catalina.sh file.
  5. Open the catalina.sh file in a text editor and find the line that contains
    #JAVA_OPTS=
    . To append the -javaagent argument to the Java command line, enter one of the following options under the line that contains
    #JAVA_OPTS=
    :
    • If you want to enable logging on the client machine, enter the following text:
      export JAVA_OPTS=- -DDDM_GENJDBC_LOG = <config file location and name> - javaagent:..\lib\GenericJDBC.jar=host:<ddm_host>,port:<ddm_generic_service_port>
    • If you do not want to enable logging on the client machine, enter the following text:
      export JAVA_OPTS=-javaagent:../lib/GenericJDBC.jar=host:<ddm_host>,port:<ddm_generic_service_port>
  6. To set the classpath, add the following line under the line that you added in the previous step:
    set CLASSPATH=$CLASSPATH:../lib/GenericJDBC.jar
  7. Save catalina.sh.

0 COMMENTS

We’d like to hear from you!