=== modified file 'src/docbkx/en/dhis2_implementation_guide_installation.xml'
--- src/docbkx/en/dhis2_implementation_guide_installation.xml 2013-11-18 17:08:49 +0000
+++ src/docbkx/en/dhis2_implementation_guide_installation.xml 2013-11-29 14:52:07 +0000
@@ -158,7 +158,16 @@
export JAVA_HOME='/usr/lib/jvm/java-7-openjdk'
export JAVA_OPTS='-Xmx7500m -Xms4000m -XX:MaxPermSize=500m -XX:PermSize=300m'
export DHIS2_HOME='/home/dhis/config'
- If you need to change the port of which Tomcat listens for requests you can open the Tomcat configuration file /conf/server.xml, locate the <Connector> element which is not commented out and change the port attribute value to the desired port number.
+ In order to enable UTF-8 encoding of request data,
+ navigate to the <tomcat-dir>/conf/server.xml
+ configuration file and locate the Connector element which
+ connects on port 8080 by default and add URIEncoding="UTF-8"
to it:
+ <Connector port="8080" protocol="HTTP/1.1"
+ connectionTimeout="20000"
+ redirectPort="8443"
+ URIEncoding="UTF-8" />
+ If you want to change the port of which Tomcat listens for requests you can set the
+ port
attribute to the desired number.
To monitor the behavior of Tomcat the log is the primary source of information. The log can be easily viewed with the command tail -f logs/catalina.out