Published: February, 15th 2008 HiveBoard
The online shared WhiteBoard
SourceForge.net Logo

3. Setup the HiveBoard Web Application for Jetty

Starting with version 6.1, Jetty servlet container provides war hot-deployment. In order to successfully hot-deploy the HiveBoard server, the following steps must be performed:

  1. First of all (ie before jetty is launched) check that you have the JDBC driver for your SQL engine installed in the lib/ext directory under jetty root directory.
  2. Then create a hiveboard directory under jetty root dir. In this directory, copy the following files:
    • hiveboard.server.war
    • hiveboard.properties (already setup for your DBMS)
    • log4j.xml
  3. Now you can start the jetty container:
    java -jar start.jar (or your own usual way to start it)
  4. You can then hot-deploy the HiveBoard server by dropping the jetty-hiveboard.xml file into the contexts subdirectory of jetty. After a few seconds, the server will have been launched.

If you rigorously follow the steps above, then default context file jetty-hiveboard.xml will need no change.

Please note that you can start jetty as a Unix daemon or a Windows service. For this, please check Jetty documentation.