Configure a Servlet Container

Last modified by Eleni Cojocariu on 2026/08/13 15:09

Steps

Warning

WIP: this documentation is being refactored from: Installation WAR 

To deploy the XWiki WAR into a servlet container:

  1. Install a supported servlet container.
  2. Download the XWiki WAR package corresponding to the version you want to install.
  3. Copy or extract the XWiki WAR package into the servlet container's deployment directory.
  4. Configure the XWiki permanent directory.
  5. Copy any additional required JDBC drivers or libraries into the servlet container, or into the XWiki web application's WEB-INF/lib directory.
  6. Configure the servlet container for your environment: memory settings, ports, HTTPS, context path and security settings.
  7. Start the servlet container. XWiki is deployed and answers on the container's HTTP port.

Community-contributed instructions exist for containers that are not officially supported, and that receive no guaranteed testing:

FAQ

Which servlet containers are officially supported?

Tomcat and Jetty, at the versions listed in the Servlet Container Support Strategy. Other containers may work but are not tested.

Can I deploy XWiki under a context path other than /xwiki?

Yes, by naming the deployment directory accordingly. Set the same path in the xwiki.webapppath property of xwiki.cfg so that XWiki generates its URLs correctly.

More

To find more about the current topic, you can search, select an highlighted topic, or use the table below and filter the columns to narrow your choices.

Related

Get Connected