How to deploy Liferay Portal to Jelastic cloud

By | October 31, 2011

Here is a step-by-step instruction on deploying Liferay Portal, a popular enterprise web platform for building business solutions, to Jelastic cloud. Jelastic can run and scale any Java application with no code changes required so the steps we describe here are applicable to most Java applications.

Let’s get started!

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.

liferay hosting

3. In the Environment topology window, select Tomcat 6 as your application server, set the Cloudlets limit (e.g. 12), type your environment name, for example, liferay, and click Create:

liferay cloud

In a minute your environment will be created and appears in the environments list.

liferay in the cloud

2. Upload Java package

1. Go to the Liferay web site, navigate to Downloads and download Liferay Portal Community Edition.

host liferay

2. Extract the files from this archive on your computer.

3. On Liferay web site, navigate to Additional Files and simply copy Liferay Portal CE GA4 WAR URL.

liferay portal hosting

Notice: If the URL is too long, you can get an exception. In this case try to use link from another downloading mirror.

4. Switch to Jelastic and upload the downloaded tomcat libraries Liferay application needs: liferay-portal-tomcat-6.0.6-20110225/liferay-portal-6.0.6/ tomcat-6.0.29/lib/ext.

5. After the upload is complete, navigate to Tomcat section and click on Config button. The config tab opens next to Deployment manager tab.

liferay connection
liferay deploy

6. Navigate to the home folder and click the New file button to create a new configuration file. Type the following: resource.repositories.root=${user.home}/liferay and click Save.

liferay install

7. Upload the liferay-portal-6.0.6-20110225.WAR Java package to the Deployment manager via URL, you have copied earlier.

liferay war

8. Once the package is in Jelastic dashboard, deploy it to the environment you have just created by clicking the Deploy button near the package name.

liferay portal cloud

Now you can finally navigate to Liferay Portal, create your account and use all capabilities of this application!

liferay portal in the cloud

And here is a video version of the same procedure:


With the “One click” install option you can have Liferay up and running within minutes. Our application packaging gives you rapid and stable multitenancy. The process is simple. Just a few clicks and you are done. Navigate to our Applications page, select Liferay from the list of available apps and get it hosted in a minute, skipping the steps of manual installation. You can find more details about Jelastic App Packaging here.

Subscribe to get the latest updates