dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #26377
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 872: URIEncoding to UTF8 in tomcat setup
------------------------------------------------------------
revno: 872
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Fri 2013-11-29 15:52:07 +0100
message:
URIEncoding to UTF8 in tomcat setup
modified:
src/docbkx/en/dhis2_implementation_guide_installation.xml
--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs
Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== 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 @@
<para><screen>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'</screen></para>
- <para>If you need to change the <emphasis role="italic">port</emphasis> of which Tomcat listens for requests you can open the Tomcat configuration file <emphasis role="italic">/conf/server.xml</emphasis>, locate the <emphasis role="italic"><Connector></emphasis> element which is not commented out and change the <emphasis role="italic">port</emphasis> attribute value to the desired port number.</para>
+ <para>In order to enable <emphasis role="italic">UTF-8</emphasis> encoding of request data,
+ navigate to the <emphasis role="italic"><tomcat-dir>/conf/server.xml</emphasis>
+ configuration file and locate the <emphasis role="italic">Connector</emphasis> element which
+ connects on port 8080 by default and add <code>URIEncoding="UTF-8"</code> to it:</para>
+ <screen><Connector port="8080" protocol="HTTP/1.1"
+ connectionTimeout="20000"
+ redirectPort="8443"
+ URIEncoding="UTF-8" /></screen>
+ <para>If you want to change the port of which Tomcat listens for requests you can set the
+ <code>port</code> attribute to the desired number.</para>
<para>To monitor the behavior of Tomcat the log is the primary source of information. The log can be easily viewed with the command <command>tail -f logs/catalina.out</command></para>
</section>
<section>