Free JBoss/Tomcat hosting on OpenShift


Lately I was looking for free hosting on application servers such as JBoss or Tomcat. I have found some options, among wich I have decided to try OpenShift and I am really happy with it. If you are looking for a place where you can test out your project or show it to the public ( student project, open source project, enterprise examples ) it could be nice solution.


You can find all information here:

What it offers:


Application Servers: JBoss (6EAP, 7), besides also servers for Python, Ruby
Databases: Postgres, MySQL, others
Addons: Cron, Jenkins, etc

You can create up to 3 applications, every of these is granted 1GB of storage and 512 MB Memory.

Set up the project

1) Register
2) Create your “app”. You can do it via
a) online tool (
b) special command line tool (RHC) (
both very easy to understand. You decide what is the link on which your app is being deployed and what add-ons you would like to choose ( Jenkins, Cron etc)


What you get after creating simple app, is maven project with GIT support. Your folder is local copy of GIT repo, which original is stored on the server (cloud). Development is  done in simple steps:

1) Write your code
2) Push changes with GIT to OpenShift server
3) Your project will be build and deployed on the server.
4) You can go to your application address and check the changes.

You can read more here:


Part which I really like, because it was really easy to learn key features and actually start developing with OpenShift. What we can do in order to manage our app

1) Add Jenkins to our project (

2) Connect to the cloud via SSH ( So you can see the logs, check the server config, etc

3) You can forward ports using the RHC tool (rhc port-forward ${appNAme}), in that way you can go to JBoss Admin console on your local machine using the address

4) If you use rhc port-forward you can also connect to your database with any of your favourite db managers like pgAdmin.

5) There suppose to be a way to remotely debug the server, but I haven’t found out how to do that.

6) There are some special ways which allow you to configure the server as well as the add-ons.  In many cases it can be done easily with changing files from” .oppenshift” folder which is stored in root of every openshift application.


After trying it out for very short time, I am very pleased to see how well it all works  together. I found the “rhc” command tool very helpful and easy to use.


Main page of OpenShift:



Get started Guide:

Another hosting  provider – AppFog:

Heroku yet another free hosting :


2 Responses to Free JBoss/Tomcat hosting on OpenShift

  1. Nabeel says:

    Thanks for the information.
    If some have bought domain name. How can we utilise our domain name in openshift?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: