#summary Installation of Disaster Districts
= Introduction =
This page will walk you through the steps of installing and running the tool
= Details =
The code has been updated to run under jboss version 7.1.1
You need to configure two modules and a datasource.
Depending on which database you select you must configure the module for the jdbc drivers
Mysql
create
Postgres TODO create ${jboss.home}/modules/org/postgresql/jdbc/main Inside of main copy the mysql jdbc jar file () Create the module.xml file and add the following
Add the driver to the standalone.xml file in ${jboss.home}/standalone/configuration Locate the section and add this to {{{ }}}
Now you need to create the module for openjpa create ${jboss.home}/modules/org/apache/openjpa/main Inside of main copy openjpa-2.2.2.jar and serp-1.14.1.jar Create the module.xml file and add the following {{{ }}}
Now start jboss in standalone mode. You will need to add an admin user if you have not done so. Open the admin page http://localhost:9990 Click Profile (top right) Click Datasources (middle left, under connector) Click Add (on right) Enter any name but enter java:/jboss/datasources/disaster for the JNDI name Click next Select the correct driver Click next Enter the connection url (ie jdbc:mysql://localhost:3306/disaster) Enter the username and password Click Done Select the datasource, and click enable
Now deploy the war