How to deploy XWiki to Jelastic cloud

You can have a XWiki instance up and running within minutes using Jelastic one-click install option.

The process is simple.

Just click Get it hosted now, type your email and install XWiki in a minute skipping the steps of manual installation.

Find more details about Jelastic App Packaging at our Solutions page.

Instruction on manual XWiki installation

XWiki is a free wiki software platform written in Java with a design emphasis on extensibility.

Let’s deploy XWiki to Jelastic cloud right now!

A. Create an environment

  • Log into the

    Jelastic Manager

  • Ask Jelastic to create a new environment: jelastic xwiki deploy view a

  • In the Environment Topology dialog, pick your application server (for example, Tomcat 6) and the database you want to use (for example MySQL). Then specify your environment name, for example, xwikitest.

jelastic xwiki deploy xwiki

It will take just a minute for your environment to be created.

B. Upload a Java package

  • Navigate to xwiki.org and select Download & Play > XWiki Enterprise.

jelastic xwiki deploy 1 89 jelastic xwiki deploy 2 91

  • Stop the started downloading and copy the link to the package by right-click on the click here line and choosing Copy link address in the opened menu. jelastic xwiki deploy linkxwiki.jpg

  • Go back to Jelastic and upload the package you have just downloaded to the Deployment manager. For that navigate to URL tab and enter there link you’ve just copied.

jelastic xwiki deploy 4.jpg

  • Once the package is in Jelastic, deploy it to your environment.

jelastic xwiki deploy 5.jpg

C. Configure database

  • Click the Open in browser button for MySQL. jelastic xwiki deploy 1 99
  • When you created the environment, Jelastic sent you an email with credentials to the database. Use these credentials to create a user account and the database with the application.

jelastic xwiki deploy 2 jelastic xwiki deploy 3

D. Configure XWiki

  • Upload MySQL connector to the lib folder. jelastic xwiki deploy 1 105

  • Pick Config for Tomcat and navigate to hibernate.cfg.xml file (webapps/ROOT/WEB-INF) jelastic xwiki deploy before.jpg

  • Comment the part of file which is responsible for the default database configuration, uncomment MySQL configuration and type the correct database connection URL, your database name and password. Also add following lines in the MySQL part as it is shown in the picture below:

<property name="connection.provider_class"<com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size"<2>/property>
<property name="statement_cache.size"<2>/property>

jelastic xwiki deploy after.jpg

Save the changes and restart Tomcat!

E. Start XWiki

Now you can open XWiki in a browser and create your spaces and pages there. Enjoy!

jelastic xwiki deploy 1

Hope this instruction will be useful for you.