Starting Tomcat at boot time with Ubuntu 18.04 using systemd

Interestingly, having done the above I found my other issue came back: https://community.dhis2.org/t/png-pdf-download-with-dhis-2-and-openjdk/36895

I added -Djava.awt.headless=true to JAVA_OPTS and commented out the assistive_technologies line in /etc/java-8-openjdk/accessibility.properties (all following much Googling) and this seems to have solved it, at least for the moment…

1 Like