How to Deploy OpenCMS to Jelastic PaaS

You can have a OpenCMS 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 OpenCMS in a minute skipping the steps of manual installation.

Instruction on Manual OpenCMS Installation

This is a step-by-step instruction on deploying OpenCMS, content management system, into Jelastic PaaS. Jelastic can natively run any Java application with no code changes required so the procedure below is applicable to most Java applications.

Create the Environment

1. Log into the Jelastic dashboard.

2. Click Create environment to set up a new environment in Jelastic.

create environment

3. In the Environment topology window, select Tomcat as your application server and Maria DB as a database, type your environment name, for example, opencms, and click Create.

environment wizard

4. In a minute your environment with both Tomcat and Maria DB will be created and appears in the environments list.

Upload Java Package

1. Go to OpenCMS web-site and download the latest OpenCMS distribution WAR file.

download OpenCMS

2. Upload the downloaded Java WAR package using Deployment manager.

upload OpenCMS

3. Once the package is in Jelastic, deploy it to the environment you have just created.

deploy OpenCMS

Configure Database

1. Switch back to Jelastic dashboard and click Open in Browser button for Maria DB.

open MariaDB in browser

2. While you were creating the environment, Jelastic sent you an email with credentials to the database. Create an account and the database with the application using these credentials.

database add user

create dedicated database

Configure OpenCMS

1. Increase the limit of max_allowed_packet as OpenCMS prompts you to do so.

max allowed packet

2. Restart the database.

Install and Start OpenCMS

1. Open the application in web browser (click Open in Browser buttom for your environment). You will get the next message:

OpenCMS not initialized

It’s ok but you need to launch OpenCMS startup. To do so, navigate to http://{your_environment_name}.{hoster’s_domain}/setup and come through the Setup Wizard and accept the license agreement.

OpenCMS license

2. In OpenCMS Setup Wizard, specify the URL of the database and the credentials, you have just provisioned.

OpenCMS database connection

Finally you can launch OpenCMS and use all its capabilities!

OpenCMS

Hope this instruction will be useful for you!

What’s next?