How to Deploy JavaBB Forum to the Cloud

| November 14, 2012

JavaBB is a software based on Java, developed specifically with intention to join communities. It is currently a well finished software: it provides the most important and classic services expected from a forum software, this time brought by the Java world. JavaBB is really simple, it works well and is really sufficient for webmasters who need a classic forum software.

Let's deploy it to Jelastic Cloud and you'll see how easy it is!

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. Ask Jelastic to create a new environment.

3. In the Environment topology dialog which opens, specify the resource limits (e.g. 16 cloudlets), pick Tomcat 7 as your application server and MySQL as the database you want to use, type your environment name, for example, javabb and click Create.

In a minute the environment with both Tomcat 7 and MySQL will be created.

Upload Java package

1. Navigate to JavaBB web site and download the latest version of JavaBB as a zip package.

2. Extract files from zip package you have just downloaded.

3. Upload your Java package (javabb.war) to the Deployment manager.

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

Configure database

1. Switch back to Jelastic dashboard and click Open in browser button for MySQL.

2. When you created the environment, Jelastic sent you an email with credentials to the database. Use these credentials to create a new user with all privileges.

3. Execute the SQL script createdb.sql (javabbxxx/database/mysql/createdb.sql)

Configure the application

1. Switch back to the Jelastic dashboard and click Config button for Tomcat.

2. Navigate to webapps/ROOT/WEB-INF/ file and change it according to your database configuration.

3. Navigate to the home folder of Tomcat and create a new directory, let's name it javabb.

3. Open the webapps/ROOT/WEB-INF/classes/ file and change the property webwork.multipart.saveDir using the path to the folder which you have just created.

Note: If you do not do this change, you can not post new topics at the forum.

Don't forget to save the changes and restart Tomcat!

Now you can open your application in a web browser and start using it.

That's all you have to do! Now your forum is up and running. Enjoy!

If you prefer to use any other software based on Java for forums and communities, just let me know and I'll create the instruction on how to deploy it into Jelastic cloud for you.

Related article: