# Starting Tomcat at boot time with Ubuntu 18.04 using systemd

**URL:** <https://community.dhis2.org/t/starting-tomcat-at-boot-time-with-ubuntu-18-04-using-systemd/36936>\
**Category:** Implementation - Implémentation\
**Created:** [4 September 2019 15:03 UTC](https://community.dhis2.org/t/starting-tomcat-at-boot-time-with-ubuntu-18-04-using-systemd/36936 "2019-09-04T15:03:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![prcleary](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/p/a88e57/32.png) [@prcleary](https://community.dhis2.org/u/prcleary)\
**Post date:** [13 September 2019 14:19 UTC](https://community.dhis2.org/t/starting-tomcat-at-boot-time-with-ubuntu-18-04-using-systemd/36936/3 "2019-09-13T14:19:21Z")

</div>

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](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…

---

_[View the full topic](https://community.dhis2.org/t/starting-tomcat-at-boot-time-with-ubuntu-18-04-using-systemd/36936)._
