Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1989

No log output with Fuseki+Tomcat9+Systemd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.16.0
    • Jena 3.17.0
    • Fuseki
    • None

    Description

      Running Fuseki and Tomcat9 with systemd shows a number of problems:

      1. /etc/fuseki/ is not accessible - Tomcat9 with systemd is sandboxed and /etc/fuseki is not writable. (Fix: document that systemd needs configuring).
      2. Log output handled differently. systemd captures stdout and sends it to the system journal. There is no catalina.out. (Fix: document how to setup systemd)
      3. log4j2 setup happens as the webapp starts and before Fuseki initialization is called. Result - the Fuseki configuration is not used. Fix: Use the log4j-web artifact and configure web.xml.

      The servlet/log setup probably applies to Fuseki logging for log4j2 in Tomcat8 as well but I can't install the stabndard setupo of tomcat8 and systemd because it is no longer available in the Ubuntu repos (Ubuntu 20.10).

      Attachments

        Activity

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: