Personal tools
You are here: Home / MyOSCAR PHR / Developers / Installing MyOSCAR v1 - no longer supported

Index_html

Here are instructions to install the Indivo server and the MyOscar client:

1.  Go to http://wiki.indivohealth.org/index.php/Installation:3.1_Server_and_Store
Follow instructions to install the indivo server up until the "Store
Installation" section.  This includes installing maven, subversion,
and java.  Check out the trunk branch of the indivo source code, , and
run "mvn install".  It will generate the war file in
trunk/server/servlet-demo/

target/.  Deploy the war file.

2.  By default, Indivo uses the Berkeley DB storage engine, and comes
with the tool to initialize the store.  However, we moved the database
to mysql for performance reasons and to avoid problems with the store
lock.  To switch indivo to use the mysql store, change this block in
web.xml to look like this:

       <init-param>
           <param-name>respondersFile</param-name>
           <param-value>/jdbcresponders.xml</param-value>
       </init-param>

3.  Install mysql, create the DB and grant all permissions to
root@localhost.localdomain.  Execute freshIndivo.sql (attached), which
will set up the store table along with a starter admin account (see
freshIndivo.txt).  You will also have to configure the mysql jdbc data
source within tomcat so indivo can connect to this database.

To make sure indivo server is running check your
http://localhost:8080/webappname/IndivoServer  Any errors will show up
in target/indivo.log in the directory from which you started tomcat.

To install MyOscar:
Download version 1.0 war file from
https://sourceforge.net/projects/myoscar/ and deploy in  tomcat >=5.5.
You can edit myoscar_client.properties to set the indivo server url
and other features.  You can edit it directly or copy it to your home
dir and rename to match the webapp name.

by Paul Antiperovitch

Document Actions