Table of Contents

Search

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

Administrator Guide

Administrator Guide

Configure Apache Tomcat for Windows

Configure Apache Tomcat for Windows

Complete the following steps to configure Apache Tomcat for Windows:
  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.bat file. You can find the file in the following directory:
    <Apache Tomcat installation>\bin\catalina.bat
  4. Save a backup of the catalina.bat file.
  5. Open the catalina.bat file in a text editor and find the
    setlocal
    line. To append the -javaagent argument to the Java command line, enter one of the following options under the
    setlocal
    line:
    • If you want to enable logging on the client machine, enter the following text:
      set 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:
      set 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.bat.

0 COMMENTS

We’d like to hear from you!