Deploying OpenCMS into Jelastic cloud

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

This is a step-by-step instruction on deploying OpenCMS, content management system, into Jelastic cloud so you can use it as an inexpensive hosted CMS. Jelastic can natively run any Java application with no code changes required so the procedure below is applicable to most Java applications.

Scroll down to see a video version of the same procedure

1. Create the environment

  1. Go to and sign up if you haven’t done it yet or log in with your Jelastic credentials by clicking the Sign In link on the page.
  2. Click Create environment to set up a new environment in Jelastic.
  3. In the Environment topology window, specify the resource limits, you want to be set for the environment (e.g. 16 cloudlets), select Tomcat 7 as your application server and Maria DB as a database, type your environment name, for example, OpenCMS, and click Create.
  4. In a minute your environment with both Tomcat and Maria DB will be created and appears in the environments list.

2. Upload Java package

  1. Go to OpenCMS web-site and download the latest OpenCMS distribution WAR file.
  2. Upload the downloaded Java WAR package using Deployment manager.
  3. Once the package is in Jelastic, deploy it to the environment you have just created.

  4. After the deployment is finished, open the application in web browser. You will get the next message:It’s ok but you need to launch OpenCMS startup. To do so, navigate to, come through the Setup Wizard and accept the license agreement to enable OpenCMS.

3. Configure database

  1. Switch back to Jelastic dashboard and click Open in browser button for Maria DB.
  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.

  3. In OpenCMS Setup Wizard, specify the URL of the database and the credentials, you have just provisioned.Once you have clicked on continue button you get the next message.It’s ok. You need to modify a setting in the database.
  4. Increase the limit of max_allowed_packed as OpenCMS prompts you to do so.
  5. Restart the database.

  6. Switch back to OpenCMS Setup Wizard and complete the installation of all components.

4. Start OpenCMS

Finally you can launch OpenCMS and use all its capabilities!

And here is a video version of the same procedure:

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

One Comment

Leave a Reply

Subscribe to get the latest updates