Wiki source code of Tomcat Troubleshooting

Last modified by superadmin on 2026/11/25 21:30

Show last authors
1 When [[installing XWiki using the ##war## package>>doc:documentation.xs.admin.installation.methods.install-xwiki-war.WebHome]] and [[configuring Tomcat>>doc:documentation.xs.admin.installation.deploy-servlet-container.configure-tomcat.WebHome]] as a servlet container, there are several common warnings, errors, and configuration issues that administrators may encounter. For example:
2
3 * A generic Tomcat startup failure indicating that XWiki failed to initialize correctly: [["Severe: Error listenerStart" in Logs>>doc:documentation.xs.admin.installation.deploy-servlet-container.configure-tomcat.troubleshooting.severe-error-listenerstart-error-logs.WebHome]].
4 * Error indicating that the operating system cannot allocate additional threads for Tomcat: [["Unable to Create Native Thread" Errors on Debian Systems>>doc:documentation.xs.admin.installation.deploy-servlet-container.configure-tomcat.troubleshooting.unable-create-native-thread-errors-debian-systems.WebHome]].
5 * [[Headless mode configuration issues>>doc:documentation.xs.admin.installation.deploy-servlet-container.configure-tomcat.troubleshooting.headless-mode-activation-apache-tomcat.WebHome]].
6 * Large XWiki forms, Page edits, or extension operations may exceed Tomcat's default request parameter limits: [[Parameter Count Exceeded Allowed Maximum>>doc:documentation.xs.admin.installation.deploy-servlet-container.configure-tomcat.troubleshooting.parameter-count-exceeded-allowed-maximum.WebHome]].
7 * Large authentication headers, cookies, or reverse proxy headers may exceed Tomcat defaults: [[Request Header is Too Large>>doc:documentation.xs.admin.installation.deploy-servlet-container.configure-tomcat.troubleshooting.request-header-large.WebHome]].
8 * Old serialized sessions may become incompatible and trigger deserialization errors during startup: [[Session Deserialization Errors in Tomcat>>doc:documentation.xs.admin.installation.deploy-servlet-container.configure-tomcat.troubleshooting.session-deserialization-errors.WebHome]].
9 * Tomcat may report warnings about ##ThreadLocal## objects not being properly released when XWiki shuts down or is redeployed: [[ThreadLocal Memory Leak Warnings on Shutdown>>doc:documentation.xs.admin.installation.deploy-servlet-container.configure-tomcat.troubleshooting.threadlocal-memory-leak-warnings-shutdown.WebHome]].

Get Connected