Installing bemokoLive on JBoss
From bemoko developer wiki
Installing JBoss
- Download and install JBoss as described in the JBoss documentation.
- Increase the default JVM memory settings, by editing the bin/run.conf file in the JBoss install with the following:
- Start JBoss with bin/run.sh
Deploy bemokoLive Application
- Download the JBoss specific build, e.g. bemokoLive-1.7.3-jboss5.zip and extract the war file from the package
- Go the the JBoss admin console @ http://localhost:8080/admin-console
- Login - note that default password for the JBoss admin user console is admin
- Click on Web Application (WAR) and select "Add a new resource"
- Browse to the bemokoLive war, e.g. bemokoLive-1.7.3-jboss5.war
- ... select "no" for deploy in exploded form
- ... and click continue to deploy the bemokoLive war
Test the bemokoLive deployment
- Access http://localhost:8080/live/welcome/i in a browser
Connecting to Databases
You can connect to databases (other than the default in-memory one) as follows. Drop the JDBC driver jar in the server lib directory, e.g. ${JBOSS_INSTALL}/server/default/lib.
HSQLDB
HSQLDB is the default internal database within bemokoLive. If you are using this database for any personalisation persistence then you may need to update the JBoss configuration (to avoid an issue with the version of HSQLDB that is shipped with Jboss) so that the correct version of the HSQLDB is picked up. JBoss comes with HSQLDB v1.8 embedded, however bemokoLive using HSQLDB v2 from bemokoLive v1.4.2. To update the version of the HSQLDB that JBoss uses, remove the file common/lib/hsqldb.jar (or move it to somewhere for safekeeping in case you need to roll back) and copy the hsqldb-2.0.0.jar from the bemokoLive war WEB-INF/lib/hsqldb-2.0.0.jar into the common/lib directory of JBoss. Then restart JBoss server to pick up these changes.
