The easiest way to deploy dotCMS to the cloud

| December 26, 2011

DotCMS is an open source enterprise class content management system that integrates the best features of content management with built in personalization. It allows you to create data structures and create relationships between them. It also allows you to create containers included in templates that generate pages.

Here is a step by step tutorial on deploying dotCMS to Jelastic cloud. All you need is just come through these simple steps:

1. Create an environment

    1. Go to and sign up if you haven't done it yet (you can do this on Servint or Host Europe servers) or log in with your Jelastic credentials by clicking the Sign In link on the page.
    2. Ask Jelastic to create a new environment.

  1. In the Environment topology window, specify the resource limits, you want to be set for the environment (e.g. 8 cloudlets), select Tomcat 6 as your application server, pick MySQL as the database you want to use and type your environment name, for example, dotCMS, and click Create.

In a minute your environment with Tomcat 6 and MySQL will be created.

2. Upload a Java package

    1. Navigate to and select to Download and copy the URL of the latest dotCMS version.

    1. Go back to Jelastic , click Upload and paste the URL you have just copied.

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

3. Configure database

    1. Click Config button for MySQL.

    1. In my.cnf file, type the following: lower_case_table_names=1. It makes your database case-insensitive. Click Save and Restart the database node after that.

    1. Click Open in browser button for MySQL.

    1. When you created your environment, Jelastic sent you an email with credentials to the database. Create a user account and the database using these credentials.

4. Configure DotCMS

      1. Pick Config for Tomcat.

      1. You have to upload to the lib folder all required JAR files: MySQL connector, mail.jar, and dependence library log4j-1.2.16.jar.

      1. Upload dotcms_1.9.4.2.jar (it is in to webapps/ROOT/WEB-INF/ lib.

    1. Go to Server folder and in the context.xml file, write up the database connection properties and mail settings.

Now you can open dotCMS in a browser and and use all its functions!