Tracker capture app not loading dhis2 version 2.30

Hi @sohel,

This is caused by wrong encoding. This can be resolved by the following steps.

JAVA_OPTS environment variable must include:
-Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8

CATALINA_OPTS environment variable must include:
-Dfile.encoding=“UTF-8”

If you are running tomcat 8.5 or higher, you also need to allow some extra url characters.

tomcat server.xml:
Add relaxedQueryChars=“[]:” to the used connector.

For example:
https://pastebin.com/NkyW7Zni

6 Likes