Wiki source code of Jetty Installation
Version 10.1 by Thomas Mortagne on 2020/01/28
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | * Download and install [[Jetty>>https://www.eclipse.org/jetty/download.html]]. It's usually as simple as unzipping it in a directory. Let's call this directory //[JETTY_HOME]//. | ||
2 | * Extract the [[XWiki WAR>>xwiki:Main.Download]] into a directory named //xwiki// in //[JETTY_HOME]/webapps///. | ||
3 | * Open ##[JETTY_HOME]/webapps/xwiki/WEB-INF/xwiki.properties## files and [[configure a permanent directory>>platform:AdminGuide.Configuration||anchor="HConfiguringDirectories"]] | ||
4 | * (Optional) If you want to modify the port on which Jetty will run, edit //[JETTY_HOME]/start.ini//. Search for "8080", replace it with the port value you wish to use and uncomment the corresponding property {{code}}jetty.http.port{{/code}}. | ||
5 | |||
6 | == Troubleshooting == | ||
7 | |||
8 | === Unable to parse form content === | ||
9 | |||
10 | In some cases you could obtain one of the following error messages: | ||
11 | |||
12 | * {{error}}Unable to parse form content{{/error}} | ||
13 | * {{code}}org.eclipse.jetty.http.BadMessageException: 400: Unable to parse form content{{/code}} | ||
14 | |||
15 | This can be related to a form containing too many parameters. In order to fix this issue, you can modify your ##jetty.xml## file as explained in [[Configuring form limits for the server>>https://www.eclipse.org/jetty/documentation/9.4.x/configuring-form-size.html#_configuring_form_limits_for_the_server]]. |