Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
/ disasterdistricts Public archive

Automatically exported from code.google.com/p/disasterdistricts

Notifications You must be signed in to change notification settings

summersb/disasterdistricts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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 ${jboss.home}/modules/com/mysql/jdbc/main Inside of main copy the mysql jdbc jar file (I have tested with 5.1.23) 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 {{{ }}}

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

About

Automatically exported from code.google.com/p/disasterdistricts

Resources

Stars

Watchers

Forks

Packages

No packages published