Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 3.16.0
-
None
Description
Running Fuseki and Tomcat9 with systemd shows a number of problems:
- /etc/fuseki/ is not accessible - Tomcat9 with systemd is sandboxed and /etc/fuseki is not writable. (Fix: document that systemd needs configuring).
- 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)
- 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).