Catalina log is not available when using Talend services

Problem Description

Talend Installer created services do not write Catalina logs for some applications deployed on Tomcat when started. Manually starting the batch script writes logs into the Catalina log file instead.

 

Root Cause

The service is missing the JVM arguments to read the logging.properties file.

 

Solution

In this example, modify the IAM service by performing the following steps:

  1. Stop the service.
  2. Open a Command Prompt window.
  3. Modify the path and change the RS parameter (highlighted below) to ES, then point to tomcat8w instead of tomcat8, by running the following command:

    image.png

    Capture.PNG

     

  4. Select the Java tab, then add the following configuration into the Java Options dialog box:

    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    -Djava.util.logging.config.file=C:\Talend\7.0.1\iam\apache-tomcat\conf\logging.properties

    Capture.PNG

  5. Restart the service.

Note: The file path is based on the service you are modifying. You can find the file path in the properties of the Talend service that you want to edit. This example specified the logging.properties file for IAM.

Version history
Revision #:
7 of 7
Last update:
‎03-19-2019 12:22 PM
Updated by:
 
Contributors