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. Configuration for MicroStrategy
  9. Access Control
  10. Logs
  11. High Availability
  12. Server Control
  13. Performance Tuning
  14. Troubleshooting
  15. Appendix A: Database Keywords

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!