|
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:
- 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.
- 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
- Now you can start the jetty container:
java -jar start.jar (or your own usual way to start it)
- 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.
|