Using Java BB with Codenvy


This tutorial explains about how to install JavaBB to a Webserver and the changes need to be done for javabb Source code.

JavaBB is an opensource designed to create forums/bulliten boards and it is purly developed in java.

The supported features of JavaBB are as follows

  • Flood Control
  • Watch Topic
  • Config file for custom changes
  • Complete layout changes thru css-theme files
  • Languages files and buttons file, based on phpBB
  • Forum category
  • Links to other urls
  • Sticky posts and announcements
  • Bbcode
  • Locked threads
  • IP logging system
  • Paginsystem
  • Memberregistration and editing
  • MemberList
  • Private message system
  • Adminsystem
  • Badwordfilter

Installation instructions:

Download Java BB Source

JavaBB source and the war file can be downloaded in the below link.
http://www.javabb.org/files/javabb099.zip

After downloading the javabb099.zip,unzip the file to extract the javabb.war file. You need to do some changes in the war file to make it work.these changes are as follows.

Database Settings

Need to create the database Schema for running the JavaBB.the SQL Information available in the extracted zip file. Goto>> database folder here you can get the sql file compatable with MySql Database
Make use of winrar or 7zip tool to make the changes to the javabb.war file.open the war file with any of these tools.
Goto>>WEB-INF>> jdbc.properties and update the below properties

jdbc.url=jdbc:mysql:///javabb
jdbc.username=
jdbc.password=

Add Properties

A user can add more properties in this file which are related to Hibernate. Sample properties

hibernate.show_sql=true
hibernate.format_sql=true

The above two properties can help in debugging the application.

You can also make use of postgres and HSQL Database instead of MySql for JavaBB Database.
SQL schema details are given in the downloaded zip file.
Goto >> /WEB-INF/classes/webwork.properties and change the below property

webwork.multipart.saveDir =

You should give full permissions to the above directory.
Goto>> /WEB-INF/web.xml and open it in a notepad and change the below entry

From

/WEB-INF/lib/webwork.jar

to

/WEB-INF/webwork.tld

Deploy Application

Now you can deploy the application to any of your favorite WEB Server.
After deploying you will get one rss feed issue that you can control by changing it in the source code.
Try to access the deployed Application by using the below url

http://:/javabb

Now you can see the javabb login page. Make sure you reguster and try to access the forum.