Changes for page Tomcat Installation

Last modified by Thomas Mortagne on 2023/12/01

<
From version < 9.1 >
edited by mawoki
on 2010/07/28
To version < 10.1 >
edited by mawoki
on 2010/07/28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,7 +5,9 @@
5 5  * Edit your //conf/server.xml// to set UTF-8 encoding: {{code}}<Connector port="8080" ... URIEncoding="UTF-8"/>{{/code}}
6 6  
7 7  === Activate headless mode ===
8 -If you're operating XWiki on a Linux server with no X11 libraries installed you have to enable headless mode for your Tomcat installation. Sometimes this is also need on Windows platforms. Typical exceptions are:
8 +
9 +If you're operating XWiki on a Linux server with no X11 libraries installed you have to enable headless mode for your Tomcat installation. Sometimes this is also needed on Windows platforms. Typical exceptions are:
10 +
9 9  * //Exception: Could not initialize class sun.awt.X11.XToolkit//
10 10  * //java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable//
11 11  
... ... @@ -16,7 +16,6 @@
16 16  {{code}}set JAVA_OPTS=%JAVA_OPTS% -Djava.awt.headless=true{{/code}}.
17 17  * When running as Windows service the ##setenv.bat## is not working. See registry ##HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\//FOOBAR//\Parameters\Java## for similar settings.
18 18  
19 -
20 20  === Optional configuration ===
21 21  
22 22  * Edit your //conf/server.xml// to enable gzip compression: {{code}}<Connector port="8080" ... compression="on" compressionMinSize="2048" compressableMimeType="text/html,text/xml,text/css,text/javascript,application/x-javascript"/>{{/code}}
... ... @@ -23,7 +23,6 @@
23 23  * If you want to modify the port on which Tomcat will run, edit ##//TOMCAT_HOME///conf/server.xml/##. Search for ##8080## (sometimes ##8180## if you are under Linux) and replace with the port value you wish to use.
24 24  * It is possible to setup Tomcat Java Server as a UNIX Daemon - JSVC. Just follow this [[instructions>>http://www.malisphoto.com/tips/tomcatonosx.html?#Anchor-JSVC||target="new"]]. The only reason to make Tomcat a daemon is to make it runnable on the 80th port, which can be replaced by using NginX as a proxy on the 80th port and then forwarding to Tomcat to the 8080th port.
25 25  
26 -
27 27  = Potential Issues =
28 28  
29 29  == Out Of Memory Error ==

Get Connected