Install XWiki .war Package Manually

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

Deploy XWiki in a servlet container and a database you administer yourself, then fill the empty wiki by installing a flavor.

Steps

  1. Check that your system meets the prerequisites of this installation method.
  2. Install and configure a servlet container.
  3. Configure the permanent directory.
  4. Install and configure a relational database.
  5. Open your wiki in a browser and install the flavor using the Distribution Wizard, which fills the empty wiki with its Pages.
  6. XWiki serves its Home page once the flavor is installed.

FAQ

Which servlet container and database should I choose?

Tomcat and Jetty are the two officially supported servlet containers. HSQLDB, MariaDB, MySQL, PostgreSQL and Oracle are the officially supported databases; HSQLDB is meant for evaluation rather than production.

Do I need to install a database before deploying the WAR?

Yes. XWiki initializes and connects to its database as soon as the servlet container deploys the web application, so a database that is not reachable makes the first start fail.

Is there a quicker way to try XWiki out?

Yes. Either try XWiki in Cloud (no installation needed), or install the standalone (demo) distribution that bundles Jetty and HSQLDB and needs no configuration.

Related

Get Connected