You are on page 1of 27

OSCAR Install Guide | Indivica |

OSCAR Install Guide | Indivica |   Store Checkout Transaction Results Solutions Support Customer
  Store Checkout Transaction Results Solutions Support Customer Care Warranty and Return OSCAR EMR Getting
 
 
Store

Store

Checkout

Checkout

Transaction Results Solutions Support
Transaction Results Solutions Support

Transaction Results

Transaction Results Solutions Support

Solutions

Transaction Results Solutions Support
Transaction Results Solutions Support

Support

Transaction Results Solutions Support
Transaction Results Solutions Support

Customer Care

Warranty and Return

Solutions Support Customer Care Warranty and Return OSCAR EMR Getting Started OSCAR Resources OSCAR Install

OSCAR EMR

Getting Started

Support Customer Care Warranty and Return OSCAR EMR Getting Started OSCAR Resources OSCAR Install Guide Company

OSCAR Resources

OSCAR Install Guide

Company

Company

Blog

Blog

http://indivica.com/?page_id=123

Installation of OSCAR v9.06 + Ubuntu Hardy Heron v8.04 LTS

This tutorial covers the installation of the OSCAR McMaster Clinical Management System (CMS), using the Ubuntu Hardy Heron v8.04 Long Term Support (LTS) operating system.

As this is a mission critical server, we recommend utilizing the latest Ubuntu LTS version as the foundation for your OSCAR installation, as this will deliver the most trouble free and stable platform for your OSCAR.

OSCAR can be installed on two or more servers and deployed in a redundant configuration to provide maximum resiliency in support of your practice. The instructions to install a redundant server configuration is beyond the scope of this tutorial. However, for the adventurous who are interested in this topic, build two identical OSCAR servers, and then search the internet on how to configure MySQL replication for the database, rsync for the filesystem, and cron for the automation. These utilities/tools will allow you to tie your two or more OSCAR servers together.

Preamble

These instructions are written for an audience comfortable with invoking instructions from the command line. If you are capable of installing the user friendly Ubuntu GNU/Linux operating system, then you should be able to follow along with ease.

This installation has been tested with the following standard Ubuntu 8.04 LTS distro packages:

Ubuntu 8.04.1 i386 (32 bit, desktop or server)with the following standard Ubuntu 8.04 LTS distro packages: tomcat 5.5 mysql 5.0.51a-3Ubuntu5.4 java version 1.5.0_16

tomcat 5.5packages: Ubuntu 8.04.1 i386 (32 bit, desktop or server) mysql 5.0.51a-3Ubuntu5.4 java version 1.5.0_16 (Sun’s java

mysql 5.0.51a-3Ubuntu5.4Ubuntu 8.04.1 i386 (32 bit, desktop or server) tomcat 5.5 java version 1.5.0_16 (Sun’s java 1.5)

java version 1.5.0_16 (Sun’s java 1.5)packages: Ubuntu 8.04.1 i386 (32 bit, desktop or server) tomcat 5.5 mysql 5.0.51a-3Ubuntu5.4 1 of 27

OSCAR Install Guide | Indivica |

javac version 1.5.0_16OSCAR Install Guide | Indivica | ant version 1.7.0 License http://indivica.com/?page_id=123 This document, written by

ant version 1.7.0OSCAR Install Guide | Indivica | javac version 1.5.0_16 License http://indivica.com/?page_id=123 This document, written by

License

Indivica | javac version 1.5.0_16 ant version 1.7.0 License http://indivica.com/?page_id=123 This document, written by

http://indivica.com/?page_id=123

This document, written by David Daley in June 2008, is freely licensed under the Creative Commons Attribution-Share Alike 3.0 Unported License.

The OSCAR McMaster project, Copyright © 2001 McMaster University, is distributed under the terms of the GNU General Public License version 2 (GPLv2).

Document Version History

v1.0 – initial public release for OSCAR v2.2 – July, 2008Public License version 2 ( GPLv2 ). Document Version History v1.1 – minor modifications, additions, corrections

v1.1 – minor modifications, additions, corrections – March, 2009– initial public release for OSCAR v2.2 – July, 2008 v1.1a – no content changes (formatted

v1.1a – no content changes (formatted for new webserver) – May, 2009minor modifications, additions, corrections – March, 2009 v1.2 – added specific date stamp to drugref CVS

v1.2 – added specific date stamp to drugref CVS command – May, 2009content changes (formatted for new webserver) – May, 2009 v1.3 – fixed formating issue related to

v1.3 – fixed formating issue related to quotes – May, 2009specific date stamp to drugref CVS command – May, 2009 v2.0 – initial public release for

v2.0 – initial public release for OSCAR v9.06 – July, 2009– fixed formating issue related to quotes – May, 2009 v2.1 – updated the cvs date

v2.1 – updated the cvs date to include week view feature – July, 2009– initial public release for OSCAR v9.06 – July, 2009 v2.2 – fixed a wayward hyphen

v2.2 – fixed a wayward hyphen – September, 2009the cvs date to include week view feature – July, 2009 Getting Started First, you must

Getting Started

First, you must install Ubuntu 8.04 LTS. The installation of the base operating system is beyond the scope of this document. Ubuntu can be downloaded or ordered in disk format directly over the internet.

Ubuntu runs on inexpensive, commodity hardware. To support a small practice with OSCAR, we recommend a minimum configuration of 200Gb Disk, 2Gb RAM, and a 2GHz Intel Dual Core CPU. For maximum subsystem compatibility, we suggest that you install the 32bit version of Ubuntu. If you are purchasing a computer to run OSCAR, one option is to order the machine with Ubuntu pre-installed.

Please note that OSCAR continues to run very well on hardware that is much less powerful than this practical minumum. For example, OSCAR will run quite reasonably on a machine with a single core CPU with 512Mb RAM and 20Gb disk.

I am assuming that your target computer is connected to the internet. After installing the operating system, log into your machine and open a terminal window.

We are now ready to begin.

Updating The Operating System

It is useful to update your system with the latest components and system patches. The first command below asks Ubuntu to update its database of available packages, and the second command installs the latest packages based on your current configuration. We run the upgrade command twice to ensure that any packages that may have post-upgrade dependancies, also have an opportunity to be upgraded.

From the command line, enter the following commands, one at a time.

OSCAR Install Guide | Indivica |

sudo apt-get update

sudo apt-get -u upgrade

sudo apt-get -u upgrade

http://indivica.com/?page_id=123

The sudo command is used to run priviledged operations on the Ubuntu platform. The first time you run the command, it will ask for your password. Subsequently, it will not ask for your password again for a short period of time (typically 15 minutes).

apt-get is the program Ubuntu uses for managing the system’s packages. When used to manipulate the core packages of the operating system, it needs to be run in conjunction with the sudo command.

Installing The Infrastructure Packages

In order to support secure remote connections to your server, you will need to install the OpenSSH package. This package will come in handy in the future to support administrative tasks on the system.

sudo apt-get install openssh-server

To log into a remote computer that is running OpenSSH, you use the ssh username@hostname command, replacing username with a valid user name on the computer you are trying to log into, and replacing hostname with either the fully qualified host name (e.g. example.com) of your server, or it’s IP address (e.g. 192.168.0.17).

For example, if your everyday computer is a Mac, and your OSCAR server user account is david, and your OSCAR server IP address is 192.168.2.200, then you can now log into your server from your Mac, by opening a terminal window on your Mac and running the command ssh david@192.168.2.200.

OSCAR is predominately written in the Java programming language and thus requires the Java SDK to be built from source. The Java SDK also supports the Tomcat web framework. The following installs Java, plus fixes a bug in its default installation program. The server will need to be rebooted to catch this fix, but we will do this later.

sudo apt-get install sun-java5-jdk

sudo ln -s /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386/libmlib_image.so /usr/lib

sudo ldconfig

The source code compilation process for OSCAR is managed by the Ant package.

sudo apt-get install ant-optional

Your specific CMS data, profiles, and information will all be stored in the MySQL database. This installation sequence will ask you for a secure password for the database server – remember this password as you will need it again later in the installation.

sudo apt-get install mysql-server libmysql-java

To support OSCAR’s web based user interface, the system leverages the extensive resources of the Apache Tomcat web application framework.

sudo apt-get install tomcat5.5 tomcat5.5-admin

sudo ln -s /usr/share/tomcat5.5 /usr/local/tomcat

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

OSCAR backup can be configured to use the Pretty Good Privacy subsystem.

sudo apt-get install pgpgpg

Concurrent Versions System (CVS) is used for source code control on the OSCAR Project. You will need this package to grab the OSCAR source code.

sudo apt-get install cvs

OSCAR’s prescription drug & allergy database, DrugRef, requires the PostgreSQL database.

Please note that the sudo command is not required for the following export and unset commands.

export LC_ALL=C

sudo apt-get install postgresql-8.3 python-pgsql

unset LC_ALL

If you are installing OSCAR on the Ubuntu 8.04 LTS Server Edition, the default package will not include

unzip. We’ll install that now (note: if your Ubuntu is the Desktop Edition, then you can skip this step.

sudo apt-get install unzip

To keep OSCAR’s clock synchronized with the world, we recommend you install the Network Time Protocol (NTP) service. This will require that your OSCAR maintains a link to the Internet to work.

sudo apt-get install ntp

These are all of the base packages that need to be installed. Now, we will reboot the server.

sudo shutdown -r now

After the server restarts, log in once again, and proceed to the next section.

Configuring The Base Packages

A few environment variables need to be set to support OSCAR.

A note about the following command – ‘vi’ (for visual editor) is a classic unix editor (classic, in the sense of, you have to know it to really love it). Alternative editors exist. Examples of other Ubuntu editors include ‘nano’, if you are running in a terminal environment, and ‘gedit’, if you are running with a GUI. ‘emacs’ lovers need to install the emacs package via apt-get before you can use it as it is not part of the base distro. If you elect to use an alternative editor, replace ‘vi’ in the commands that follow with your editor of choice.

sudo vi /etc/profile

If you are configuring OSCAR on a freshly installed Ubuntu server, then you should be safe to add these

lines to end of the file.

JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun"

CATALINA_HOME="/usr/share/tomcat5.5"

ANT_HOME="/usr/share/ant"

OSCAR Install Guide | Indivica |

export JAVA_HOME CATALINA_HOME ANT_HOME

http://indivica.com/?page_id=123

To load the new environment variables into your existing terminal, run the following command. Please note that the sudo command is not required in this case.

source /etc/profile

The infrastructure is now in place and it is time to get the OSCAR source code. The first cvs command below will ask you for a password – please respond by hitting the Enter key, without adding a password (ie a null password).

By specifying a specific date/time on the checkout command, you ensure that you get a specific, dated version that you can track from. The command, run without the datestamp verb -D "2009-06-30 23:59:59" will retrieve the most recent version.

By specifying a particular release, you will get the code from that branch of the code. The command, run without the release flags, will get you the code from the development branch. If the development stream code is what you want, run the command without -r and also without -r RELEASE_9_06.

This tutorial is specific to the commands in the following section.

mkdir -p $HOME/src/oscar_source

cd $HOME/src/oscar_source

cvs -d:pserver:anonymous@oscarmcmaster.cvs.sourceforge.net:/cvsroot/oscarmcmaster login

cvs -z3 -r -d:pserver:anonymous@oscarmcmaster.cvs.sourceforge.net:/cvsroot /oscarmcmaster co -r RELEASE_9_06 -D "2009-07-20 23:59:59" oscar_mcmaster

cvs -d:pserver:anonymous@oscarmcmaster.cvs.sourceforge.net:/cvsroot/oscarmcmaster

logout

It will take a few minutes for the source code to download. Afterwards, compile OSCAR.

cd

$HOME/src/oscar_source/oscar_mcmaster/build

ant

You may ignore the warnings from the compiler, however you should expect to receive the message:

BUILD SUCCESSFUL.

Copy the resulting WAR files to the web server.

sudo cp $HOME/src/oscar_source/oscar_mcmaster/build/tmp/*.war

$CATALINA_HOME/webapps

OSCAR includes scripts to populate the MySQL database. For the following set of commands, you need to replace ****** with a secure password. Remember this password as it will be required to administer the database.

cd $HOME/src/oscar_source/oscar_mcmaster/database/mysql

Only run one of the following two database creation commands!

Users that wish to use Ontario’s billing subsystem should run the following command:

./createdatabase_on.sh ****** oscar_mcmaster

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

Whereas users who wish to use British Columbia’s billing subsystem should run this command:

./createdatabase.sh ****** oscar_mcmaster

OSCAR users that are from neither Ontario nor BC can run either of the above commands (you must run one of them), then you will need to adjust the billing system according to your own location.

You will need to move the oscar_*.properties files to $CATALINA_HOME as describe below.

sudo cp $HOME/src/oscar_source/oscar_mcmaster/install/oscar*properties $CATALINA_HOME

sudo ln -s $CATALINA_HOME/oscar_mcmaster.properties $CATALINA_HOME/oscar.properties

The oscar.properties file needs to be localized for your specific configuration.

sudo vi $CATALINA_HOME/oscar.properties

Specific configuration variables to consider for modification may include the following (but please review all properties for your own situtation):

db_password = oscar2003 ### change to your mysql database password

drugref_url = http://localhost:8001 ### points locally

project_home = oscar

backup_path = /usr/local/backups/ ### change to a place for your backup files

SHOW_APPT_REASON=yes ### uncomment by removing the ‘#’

ENABLE_EDIT_APPT_STATUS=yes ### uncomment by removing the ‘#’

#ticklerplus=on ### disable by adding the ‘#’

#clientdropbox=off ### disable by adding the ‘#’

CASEMANAGEMENT=all ### turn on the new echart

CMESort=UP ### make the echart sort nicely

TESTING=yes ### enables the Invoice Report feature

FILTER_ON_FACILITY=false

If you don’t change the default location for the documentation directories in the properties file, you will need to create the appropriate directories.

sudo mkdir -p /usr/local/tomcat/webapps/OscarDocument/oscar_mcmaster/form/record

sudo chown tomcat55:nogroup -R /usr/local/tomcat/webapps/OscarDocument /oscar_mcmaster/form

The defaults for MySQL will work fine when you are starting out, but you can tune the database so that it will run even faster. First, edit it’s configuration file:

sudo vi /etc/mysql/my.cnf

OSCAR Install Guide | Indivica |

Find the section that looks like this:

#

#

* Fine Tuning

#

key_buffer = 16M

max_allowed_packet = 16M

thread_stack = 128K

thread_cache_size = 8

#max_connections = 100

#table_cache = 64

#thread_concurrency = 10

#

#

* Query Cache Configuration

#

query_cache_limit = 1M

query_cache_size = 16M

http://indivica.com/?page_id=123

Assuming that your server has 2Gb RAM and a single, dual core CPU, then the following modifications are reasonable to help accelerate your OSCAR solution. For the lines that exist in the above block, you can just adjust their numbers. For the lines that do not exist, add them to your configuration file.

key_buffer = 384M

table_cache = 512

sort_buffer_size = 4M

read_buffer_size = 4M

read_rnd_buffer_size = 16M

myisam_sort_buffer_size = 64M

query_cache_size = 32M

thread_concurrency = 4

After saving the configuration file, you will need to restart MySQL.

sudo /etc/init.d/mysql restart

We will now configure Tomcat. First, adjust the configuration file to allocate more resources to OSCAR.

OSCAR Install Guide | Indivica |

sudo vi /etc/default/tomcat5.5

http://indivica.com/?page_id=123

Find the following sections and configure the variables to match what is below. Once again, I am assuming that you have at least 2Gb RAM.

# Arguments to pass to the Java virtual machine (JVM).

JAVA_OPTS="-Xmx1024m -Xms1024m -XX:MaxPermSize=512m"

# Use the Java security manager? (yes/no)

TOMCAT5_SECURITY=no

Save the configuration file and when you are back to the shell, create the SSL certificate (localize the specific values noted in this command for your particular situation and change the default password of “changeit” to something specific for your installation).

sudo $JAVA_HOME/bin/keytool -genkey -dname "CN=192.168.2.200, OU=Indivica, O=Indivica, L=Toronto, ST=Ontario, C=CA" -alias tomcat -validity 3650 -keyalg RSA -keystore /root/.keystore -keypass changeit -storepass changeit

Now, modify Tomcat’s server config file to support secure encrypted connections via SSL.

sudo vi $CATALINA_HOME/conf/server.xml

In the server.xml file, look for the SSL HTTP/1.1 Connector entry and enable that block of configuration code by removing the comment tags (<!– and –>).

Then modify the section to look like the following section.

<!– Define a SSL HTTP/1.1 Connector on port 8443 –>

<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false"

keystoreFile="/root/.keystore" ### add this line

keystorePass="put-your-password-here" ### add this line – this is the password from the certificate creation command

sslProtocol="TLS" />

With these changes now configured, we need to restart the Tomcat application server.

sudo /etc/init.d/tomcat5.5 restart

Now we’ll enable the new echart interface.

cd $HOME/src/oscar_source/oscar_mcmaster/database/mysql

java -cp .:/usr/local/tomcat/webapps/oscar/WEB-INF/lib/mysql-connector-java-3.0.11-stable-

OSCAR Install Guide | Indivica |

bin.jar importCasemgmt /usr/local/tomcat/oscar.properties

http://indivica.com/?page_id=123

mysql -uroot -p****** oscar_mcmaster ### will bring you to the mysql database prompt

insert into issue (code,description,role,update_date) select icd9.icd9, icd9.description, "doctor", now() from icd9;

quit ### gets you out of mysql

The DrugRef source resides on a different code branch from the main OSCAR system. We will now download the subsystem.

cd $HOME/src/oscar_source

cvs -d:pserver:anonymous@oscarmcmaster.cvs.sourceforge.net:/cvsroot/oscarmcmaster login

cvs -z3 -d:pserver:anonymous@oscarmcmaster.cvs.sourceforge.net:/cvsroot/oscarmcmaster

co -P -D "2009-07-20 23:59:59" drugref

cvs -d:pserver:anonymous@oscarmcmaster.cvs.sourceforge.net:/cvsroot/oscarmcmaster

logout

We need to create some directories for DrugRef and move the code into them.

sudo ln -s /usr/lib/postgresql/8.3 /usr/local/pgsql

sudo mkdir /usr/local/DPD

sudo mkdir /usr/local/drugref-ca_1_5

sudo cp -r $HOME/src/oscar_source/drugref/drugref2/DPD/* /usr/local/DPD

sudo cp -r $HOME/src/oscar_source/drugref/drugref2/drugref-ca_1_5/* /usr/local/drugref-

ca_1_5

We now need to give ownership of these files and directories to the postgres account.

sudo chown -R postgres:postgres /usr/local/DPD

sudo chown -R postgres:postgres /usr/local/drugref-ca_1_5

We will log into the postgres account for the next section, but first, we will need to set a password for the account.

sudo passwd postgres

su - postgres

We need to enable the execution bits on a couple of scripts.

cd /usr/local/DPD

chmod +x create_database.sh

chmod +x import_dpd.sh

The following command will create the database space for the DrugRef information.

OSCAR Install Guide | Indivica |

./create_database.sh

http://indivica.com/?page_id=123

The next command will download the latest drug database from Health Canada. This import script will take some time, so be patient (a good time to get a fresh coffee). You can ignore the ERROR: table "*****" does not exist CREATE TABLE messages.

./import_dpd.sh

We need to add a new first line to the DrugRef calling program to compensate for a python issue (see:

http://www.python.org/dev/peps/pep-0263/). We also need to be specific about where the drug interactions plugins directory is.

First, edit the file:

vi /usr/local/drugref-ca_1_5/drugref_service.py

And now add as the very first line (including the sharp sign (‘#’)):

# coding: latin-1

Change the following line…

def

init

(self,

plugindir="plugins", name = "Drugref Service", version="1.0"):

to reflect the current directory:

def

version="1.0"):

init

(self,

plugindir="/usr/local/drugref-ca_1_5/plugins", name = "Drugref Service",

Save the file. Finally when you get back to the terminal prompt, we will exit from postgres account.

exit

Now that you are back to your original shell, the last step is to start up the DrugRef subsystem.

We will configure the system so that it always will start when the server is turned on. To do this, we need to edit a system script.

sudo vi /etc/rc.local

Add the following line to /etc/rc.local (before the exit 0 line):

nohup su -c "/usr/bin/python /usr/local/drugref-ca_1_5/drugref_service.py >> /usr/local /drugref-ca_1_5/drug.log 2>&1 &" postgres

And run the script:

sudo /etc/rc.local

That’s it! Your base OSCAR package is configured.

Trying It Out

We are now ready to log into OSCAR for the first time.

To test the connection, open your web browswer and go to your the web address of your server as shown below. You should see the OSCAR login page.

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

In the specific example below, replace the IP address of the example URL with the IP address of your server. To find the IP address of your server you can run the command "ifconfig" from the shell that you have been using to configure the system.

https://192.168.2.200:8443/oscar/

Your connection to the OSCAR server is encrypted.

Your browser may complain about your unofficial or uncertified certificate. You can ignore these warnings and avoid them in the future by installing the certificate on your workstation. The instructions for doing this is browser specific and beyond the scope of this document.

The default login parameters for OSCAR is as follows:

User Name: oscardoc

Password: mac2002

2nd Level Passcode: 1117

The first thing you will need to do once you log in, is change your passwords from the defaults. The primary password is changed via the Pref -> Change Your Password menu. The secondary password is changed via the Admin -> Search/Edit/Delete Security Records menu.

Configure Your Backup

There are a number of ways to automate your backup. A few areas will need to be considered:

the databaseyour backup. A few areas will need to be considered: the properties file the document upload

the properties filebackup. A few areas will need to be considered: the database the document upload directory the

the document upload directorywill need to be considered: the database the properties file the eforms directory My recommendation is

the eforms directorydatabase the properties file the document upload directory My recommendation is to automatically backup the database

My recommendation is to automatically backup the database nightly, then use rsync to move all the files, including the database dump to a remote machine.

First, create a database backup directory, and change the permissions so that only the root user can read the contents.

sudo mkdir /usr/local/backups

sudo chown tomcat55:nogroup /usr/local/backups

sudo chmod 755 /usr/local/backups

Now we will create a script that we can use to backup the database and create an archive of all the dynamic files on the system. As the archive file of the uploaded files will become quite large over time, we’ll only keep two copies on hand at any given time. You can, of course, configure your system to keep more if you like.

First, we will create the file:

sudo vi /usr/local/backups/backupOSCAR.sh

In this file, put the following lines (replacing the ****** with your actual mySQL database password):

#!/bin/sh -e

OSCAR Install Guide | Indivica |

#

http://indivica.com/?page_id=123

/usr/bin/mysqldump –add-drop-table -uroot -p****** oscar_mcmaster > /usr/local/backups /backupOSCAR-`date +%F`.sql

/bin/gzip -f /usr/local/backups/backupOSCAR-`date +%F`.sql

/bin/mv /usr/local/backups/backupOscarFiles.tar.gz /usr/local/backups /backupOscarFiles.older.tar.gz

/bin/tar cfz /usr/local/backups/backupOscarFiles.tar.gz /usr/local/tomcat/webapps /OscarDocument/oscar_mcmaster /usr/local/tomcat/oscar_mcmaster.properties

Make this file executable.

sudo chmod 700 /usr/local/backups/backupOSCAR.sh

We’ll configure Ubuntu to run the command every day. This is done by creating a cron job for the script we just made. Run the following command:

sudo crontab -e

And add to the existing file an entry so that the command looks like below:

# m h dom mon dow command

04 04 * * * /usr/local/backups/backupOSCAR.sh

You’ve now configured a daily backup of the mySQL OSCAR database. This backup will run at 4 minutes after 4 am, each morning. Each backup file will be created in the /usr/local/backups directory and will be time stamped based on the day it was created.

You will be able to see the contents of the backup directory with the command:

sudo ls /usr/local/backups

These backup files are also viewable/downloadable via the Admin->oscarDatabase/Document Download tab from within OSCAR.

To restore OSCAR from a backup file, you run this command (once again, inserting your own password in lieu of the asterisks, and also adjusting the timestamp for the appropriate backup file from your own directory):

sudo zcat /usr/local/backups/backupOSCAR-2008-11-20.sql | mysql -uroot -p****** oscar_mcmaster

Finally, lets move the backup files, and the backup database to a remote machine. This is accomplished by running the following command, and replacing username with a valid username for the remote machine, and replacing domainname with the FQDN or IP of the remote host:

sudo rsync -azvv -e ssh /usr/local/backups username@domainname:backups

You have now completed a full installation of OSCAR. Keep reading for hints on what to do next.

Getting Started With OSCAR

Now that OSCAR is installed, there are a number of activities that you will need to perform to get the

OSCAR Install Guide | Indivica |

most out of your new CMS. Some of these tasks may include:

http://indivica.com/?page_id=123

add users and configure their security and optionally their schedulesof these tasks may include: http://indivica.com/?page_id=123 configure your clinic information import your patient

configure your clinic informationand configure their security and optionally their schedules import your patient demographic records localize your

import your patient demographic recordsoptionally their schedules configure your clinic information localize your billing templates and update the system to

localize your billing templates and update the system to the lastest fees scheduleclinic information import your patient demographic records configure electronic access to your labs configure your

configure electronic access to your labstemplates and update the system to the lastest fees schedule configure your prescription pad add some

configure your prescription padfees schedule configure electronic access to your labs add some forms and eforms Many of these

add some forms and eformsaccess to your labs configure your prescription pad Many of these activities are intuitive to configure

Many of these activities are intuitive to configure and most are described in the user guide which is available on the OSCAR Canada web site.

I will help you through a couple simple tasks to get you started.

Configuring Forms

Log into the OSCAR server as oscardoc.

Select from the menu Admin -> Select Forms. This will open a window which allows you to add and remove the forms that are available via the patient’s Encounter window.

Highlight Discharge Summary from the Selected Forms list, and click Delete. Add the following forms from the All Available Forms list:

AnnualAdd the following forms from the All Available Forms list: Annual V2 CHF Growth 0-36m Growth

Annual V2following forms from the All Available Forms list: Annual CHF Growth 0-36m Growth Charts ImmunAllergies Lab

CHFforms from the All Available Forms list: Annual Annual V2 Growth 0-36m Growth Charts ImmunAllergies Lab

Growth 0-36mfrom the All Available Forms list: Annual Annual V2 CHF Growth Charts ImmunAllergies Lab Req 2007

Growth ChartsAll Available Forms list: Annual Annual V2 CHF Growth 0-36m ImmunAllergies Lab Req 2007 Mental Health

ImmunAllergiesForms list: Annual Annual V2 CHF Growth 0-36m Growth Charts Lab Req 2007 Mental Health MMSE

Lab Req 2007Annual V2 CHF Growth 0-36m Growth Charts ImmunAllergies Mental Health MMSE PeriMenopausal Risk Assessment Rourke

Mental HealthCHF Growth 0-36m Growth Charts ImmunAllergies Lab Req 2007 MMSE PeriMenopausal Risk Assessment Rourke Rourke2006 Self

MMSEGrowth Charts ImmunAllergies Lab Req 2007 Mental Health PeriMenopausal Risk Assessment Rourke Rourke2006 Self

PeriMenopausalGrowth Charts ImmunAllergies Lab Req 2007 Mental Health MMSE Risk Assessment Rourke Rourke2006 Self Efficacy T2Diabetes

Risk AssessmentLab Req 2007 Mental Health MMSE PeriMenopausal Rourke Rourke2006 Self Efficacy T2Diabetes Vascular Tracker

RourkeReq 2007 Mental Health MMSE PeriMenopausal Risk Assessment Rourke2006 Self Efficacy T2Diabetes Vascular Tracker To

Rourke2006Mental Health MMSE PeriMenopausal Risk Assessment Rourke Self Efficacy T2Diabetes Vascular Tracker To finish your

Self EfficacyHealth MMSE PeriMenopausal Risk Assessment Rourke Rourke2006 T2Diabetes Vascular Tracker To finish your selection, click

T2DiabetesRisk Assessment Rourke Rourke2006 Self Efficacy Vascular Tracker To finish your selection, click the Close

Vascular TrackerRisk Assessment Rourke Rourke2006 Self Efficacy T2Diabetes To finish your selection, click the Close button. These

To finish your selection, click the Close button.

These forms will now be viewable via the Encounter page of each patient.

Enabling Flowsheets

OSCAR supports a number of flowsheets, including:

INREnabling Flowsheets OSCAR supports a number of flowsheets, including: Hypertension HIV Diabetes 13 of 27 27-Aug-11

Hypertensionpatient. Enabling Flowsheets OSCAR supports a number of flowsheets, including: INR HIV Diabetes 13 of 27

HIVEnabling Flowsheets OSCAR supports a number of flowsheets, including: INR Hypertension Diabetes 13 of 27 27-Aug-11

DiabetesEnabling Flowsheets OSCAR supports a number of flowsheets, including: INR Hypertension HIV 13 of 27 27-Aug-11

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

These flowsheets are enabled by configuring the disease registry. First, select Admin -> Customize Disease Registry Quick List -> Edit Quick List -> default.

Then you enter each of the icd9 codes for the following items and select Add (select Close when you are finished):

Atrial Fibrillation (code: 42731)and select Add (select Close when you are finished): Diabetes Mellitus (code: 250) Essential Hypertension (code:

Diabetes Mellitus (code: 250)when you are finished): Atrial Fibrillation (code: 42731) Essential Hypertension (code: 401) Human Immuno Virus Dis

Essential Hypertension (code: 401)Fibrillation (code: 42731) Diabetes Mellitus (code: 250) Human Immuno Virus Dis (code: 042) HX-VEN Thrombosis/Embols

Human Immuno Virus Dis (code: 042)Mellitus (code: 250) Essential Hypertension (code: 401) HX-VEN Thrombosis/Embols (code: V1251) Long-Term Use

HX-VEN Thrombosis/Embols (code: V1251)Hypertension (code: 401) Human Immuno Virus Dis (code: 042) Long-Term Use Anticoagul (code: V5861) And now,

Long-Term Use Anticoagul (code: V5861)Virus Dis (code: 042) HX-VEN Thrombosis/Embols (code: V1251) And now, to enable a flowsheet for a

And now, to enable a flowsheet for a specific patient, you will select from the patient’s Encounter -> Dx Registry -> Quick List window the appropriate condition. The appropriate flowsheet will now be enabled on the Encounter page (you will need to refresh/reload the Encounter page to see the Flowsheet under the Measurements heading.

OSCAR Install Guide Comments ( 42 ) Trackbacks ( 0 )
OSCAR Install Guide

OSCAR Install Guide

Comments ( 42 )

Comments ( 42 )

Trackbacks ( 0 )

Trackbacks ( 0 )

Write comment

1.

1.

Danil1. February 15th, 2010 REPLY QUOTE The database scripts do not work on the mysql version

February 15th, 20101. Danil REPLY QUOTE The database scripts do not work on the mysql version 5, I

REPLY1. Danil February 15th, 2010 QUOTE The database scripts do not work on the mysql version

QUOTE1. Danil February 15th, 2010 REPLY The database scripts do not work on the mysql version

The database scripts do not work on the mysql version 5, I had to edit them manualy to fix a few issues. Is it possible to get a compatible dump fom the mysqldump?

2.

2.

David Daleyit possible to get a compatible dump fom the mysqldump? 2. February 16th, 2010 REPLY QUOTE

February 16th, 2010to get a compatible dump fom the mysqldump? 2. David Daley REPLY QUOTE the scripts should

REPLYdump fom the mysqldump? 2. David Daley February 16th, 2010 QUOTE the scripts should work if

QUOTEfom the mysqldump? 2. David Daley February 16th, 2010 REPLY the scripts should work if you

the scripts should work if you pull the source from the right place. I would suggest building from the timestamp/branch noted in the instructions for your first install until you get a handle on the process, and then when you pull from the “firehose”, you’ll be in better shape to handle the errors that pop up when dealing with the development branch.

3.

3.

Kingthat pop up when dealing with the development branch. 3. February 22nd, 2010 REPLY QUOTE @David

February 22nd, 2010that pop up when dealing with the development branch. 3. King REPLY QUOTE @David Daley 14

REPLYup when dealing with the development branch. 3. King February 22nd, 2010 QUOTE @David Daley 14

QUOTEup when dealing with the development branch. 3. King February 22nd, 2010 REPLY @David Daley 14

@David Daley

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

I also have same problem with the database scripts, initcasidata.sql As far as I know, the issues is because of the line: INSERT INTO `intake_node` VALUES from initcasidata.sql The table intake_node has 14 columns, but the insert command only has 13 columns.

From one of the page I found, it said the issues had been fixed in 2009, but the most newest source code still having the same issue.

For the page that discussed about this issue, please refer to: http://old.nabble.com/Unable-to-create-

database-td24345159.html

4.

4.

Rob4. February 23rd, 2010 REPLY QUOTE This guide has been most helpful. However, I found this

February 23rd, 20104. Rob REPLY QUOTE This guide has been most helpful. However, I found this command confusing…

REPLY4. Rob February 23rd, 2010 QUOTE This guide has been most helpful. However, I found this

QUOTE4. Rob February 23rd, 2010 REPLY This guide has been most helpful. However, I found this

This guide has been most helpful.

However, I found this command confusing…

sudo $JAVA_HOME/bin/keytool -genkey -dname “CN=192.168.2.200, OU=Indivica, O=Indivica, L=Toronto, ST=Ontario, C=CA” -alias tomcat -validity 3650 -keyalg RSA -keystore /root/.keystore -keypass changeit -storepass changeit

because of the dual use of “changeit”… Presumably one is the old hash key, and the other the new hash key, but this could be made clearer with either an annotation, or alternative choices.

Thanks for a great guide.

5.

5.

Carl Wiebeor alternative choices. Thanks for a great guide. 5. March 6th, 2010 REPLY QUOTE I am

March 6th, 2010alternative choices. Thanks for a great guide. 5. Carl Wiebe REPLY QUOTE I am a newbie

REPLYThanks for a great guide. 5. Carl Wiebe March 6th, 2010 QUOTE I am a newbie

QUOTEfor a great guide. 5. Carl Wiebe March 6th, 2010 REPLY I am a newbie to

I am a newbie to this but am a little familiar with linux, running Ubuntu on a laptop and desktop at home. I have used OSCAR for a few years in a GP setting. I’m now specializing and want to set my own system. I’m following the directions and thank you very much for them. with the command ” ./createdatabase.sh ***** oscar_mcmaster” I keep getting the following message; “mysqladmin:

connect to server at ‘localhost’ failed error: ‘Access denied for user ‘root’@'localhost’ (using password: YES)’ ERROR 1045 (28000): Access denied for user ‘root’@'localhost’ (using password: YES)” Any help or suggestions as to where I can “train up” for this? Thanks again, Carl Wiebe Vancouver BC

6.

6.

Carl Wiebeup” for this? Thanks again, Carl Wiebe Vancouver BC 6. March 6th, 2010 REPLY QUOTE 15

March 6th, 2010“train up” for this? Thanks again, Carl Wiebe Vancouver BC 6. Carl Wiebe REPLY QUOTE 15

REPLYup” for this? Thanks again, Carl Wiebe Vancouver BC 6. Carl Wiebe March 6th, 2010 QUOTE

QUOTEup” for this? Thanks again, Carl Wiebe Vancouver BC 6. Carl Wiebe March 6th, 2010 REPLY

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

I should have added to my Question that I’ve tried all the passwords known and unknown to my system in place of the ***** symbols.

7.

7.

Rick7. March 8th, 2010 REPLY QUOTE Hi David,   I have run into the same problem

March 8th, 20107. Rick REPLY QUOTE Hi David,   I have run into the same problem as posted

REPLY7. Rick March 8th, 2010 QUOTE Hi David,   I have run into the same problem

QUOTE7. Rick March 8th, 2010 REPLY Hi David,   I have run into the same problem

Hi David,

 

I

have run into the same problem as posted in Oct but I was unable to see the solution…

am unable to upload error files into OSCAR and it gives me the following error What i can do about it.

i

 

thanks

 

HTTP Status 404 – /oscar%20/oscarBilling/DocumentErrorReportUpload.do

——————————————————————————–

type Status report message /oscar%20/oscarBilling/DocumentErrorReportUpload.do description The requested resource (/oscar%20/oscarBilling/DocumentErrorReportUpload.do) is not available.

was there a solution for this problem?

8.

8.

David Daleyis not available. was there a solution for this problem? 8. March 8th, 2010 REPLY QUOTE

March 8th, 2010was there a solution for this problem? 8. David Daley REPLY QUOTE   Check the billing

REPLYa solution for this problem? 8. David Daley March 8th, 2010 QUOTE   Check the billing

QUOTEfor this problem? 8. David Daley March 8th, 2010 REPLY   Check the billing directory definition

 

Check the billing directory definition in the oscar.properties file.

9.

9.

David Daleydirectory definition in the oscar.properties file. 9. March 8th, 2010 REPLY QUOTE   The

March 8th, 2010definition in the oscar.properties file. 9. David Daley REPLY QUOTE   The “createdatabase.sh” program

REPLYin the oscar.properties file. 9. David Daley March 8th, 2010 QUOTE   The “createdatabase.sh” program creates

QUOTEoscar.properties file. 9. David Daley March 8th, 2010 REPLY   The “createdatabase.sh” program creates the

 

The “createdatabase.sh” program creates the databases with the password you used when you first installed mysql (e.g. “apt-get install mysql”). That is the password the script is looking for.

10.

10.

AlienThat is the password the script is looking for. 10. March 30th, 2010 REPLY QUOTE I

March 30th, 2010is the password the script is looking for. 10. Alien REPLY QUOTE I was triying to

REPLYthe script is looking for. 10. Alien March 30th, 2010 QUOTE I was triying to get

QUOTEscript is looking for. 10. Alien March 30th, 2010 REPLY I was triying to get oscar

I was triying to get oscar working on Debian Lenny but not good luck with that i get lots of errors

messages so i will need to make more test… i will post the errors i get and see if you can help me…

OSCAR Install Guide | Indivica |

Thanks…

Anyone of you install oscar succeful on Debian Lenny distro?

http://indivica.com/?page_id=123

11.

11.

Kevin11. April 2nd, 2010 REPLY QUOTE I am in the US, setting up for a birth

April 2nd, 201011. Kevin REPLY QUOTE I am in the US, setting up for a birth center. I

REPLY11. Kevin April 2nd, 2010 QUOTE I am in the US, setting up for a birth

QUOTE11. Kevin April 2nd, 2010 REPLY I am in the US, setting up for a birth

I am in the US, setting up for a birth center. I am running Karmic. This (OSCAR) looks like the cat’s mew, but I have run into an error when running ant.

“kevin@school-phbc:~/src/oscar_source/oscar_mcmaster/build$ ant Buildfile: build.xml

BUILD FAILED /home/kevin/src/oscar_source/oscar_mcmaster/build/build.xml:385: /usr/share/tomcat6/common/lib not found.”

My system is running tomcat6, obviously, won’t revert to 5.5, and will not set this folder. I can create the folder, however, I am sure that there is data that should be inlcuded that I need to find somewhere other.

Please assist any way possible. To further muck this up, I am a newbie-the tutorial level of information is precisely what I require.

12.

12.

David Daleylevel of information is precisely what I require. 12. April 3rd, 2010 REPLY QUOTE I would

April 3rd, 2010of information is precisely what I require. 12. David Daley REPLY QUOTE I would suggest sticking

REPLYis precisely what I require. 12. David Daley April 3rd, 2010 QUOTE I would suggest sticking

QUOTEwhat I require. 12. David Daley April 3rd, 2010 REPLY I would suggest sticking with the

I would suggest sticking with the infrastructure mentioned in this tutorial unless you are very adventurous.

Our plan it to update the tutorial in the near future (next few months) to identify the steps to use OSCAR on the next LTS version of Ubuntu, but the current LTS version is very stable and thus will give you the best results in a production environment.

13.

13.

Walteryou the best results in a production environment. 13. April 3rd, 2010 REPLY QUOTE I’m running

April 3rd, 2010the best results in a production environment. 13. Walter REPLY QUOTE I’m running into a problem

REPLYin a production environment. 13. Walter April 3rd, 2010 QUOTE I’m running into a problem when

QUOTEproduction environment. 13. Walter April 3rd, 2010 REPLY I’m running into a problem when trying to

I’m running into a problem when trying to log in:

Database connection error: Cannot create PoolableConnectionFactory (Invalid authorization specification, message from server: “Access dened for user ‘root’@'localhost’ (using password:

YES)”).

Now, I’ve been searching for solutions and most answers tend to point towards the password being

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

specified incorrectly in oscar.properties – However, I can use the same password to log into mysql from the command-line. An older archive pointed towards renaming oscar.properties to EMR.properties; I created a symlink but to no avail. What am I missing?

14.

14.

Walter14. April 4th, 2010 REPLY QUOTE @Walter PS: Additional web search points towards the .war files

April 4th, 201014. Walter REPLY QUOTE @Walter PS: Additional web search points towards the .war files overriding

REPLY14. Walter April 4th, 2010 QUOTE @Walter PS: Additional web search points towards the .war files

QUOTE14. Walter April 4th, 2010 REPLY @Walter PS: Additional web search points towards the .war files

@Walter PS: Additional web search points towards the .war files overriding $CATALINA_HOME/*.properties . I went back and changed the mysql password to the original one in oscar.properties and now I can connect. I suspect that editing $HOME/src/oscar_source /oscar_mcmaster/web/WEB-INF/classes/oscar_mcmaster.properties BEFORE running ant should help resolve the issue. I’ll post an update once I figure out a fix (or if I manage to get it running on Tomcat6 instead).

15.

15.

Dan Corsillo(or if I manage to get it running on Tomcat6 instead). 15. April 6th, 2010 REPLY

April 6th, 2010to get it running on Tomcat6 instead). 15. Dan Corsillo REPLY QUOTE I’m having difficulty at

REPLYon Tomcat6 instead). 15. Dan Corsillo April 6th, 2010 QUOTE I’m having difficulty at this instruction

QUOTEon Tomcat6 instead). 15. Dan Corsillo April 6th, 2010 REPLY I’m having difficulty at this instruction

I’m having difficulty at this instruction set. I have installed Java

sudo $JAVA_HOME/bin/keytool -genkey -dname “CN=192.168.2.200, OU=Indivica, O=Indivica, L=Toronto, ST=Ontario, C=CA” -alias tomcat -validity 3650 -keyalg RSA -keystore /root/.keystore -keypass changeit -storepass changeit

The error message returns “command not found” and looking in the $JAVA_HOME/bin directory there is no “keytool” command. I haven’t been able to get past this point. Help would be greatly appreciated.

16.

16.

David Daleyget past this point. Help would be greatly appreciated. 16. April 6th, 2010 REPLY QUOTE The

April 6th, 2010point. Help would be greatly appreciated. 16. David Daley REPLY QUOTE The keytool is part of

REPLYbe greatly appreciated. 16. David Daley April 6th, 2010 QUOTE The keytool is part of the

QUOTEgreatly appreciated. 16. David Daley April 6th, 2010 REPLY The keytool is part of the java

The keytool is part of the java distribution. It is found on my server:

$ ls $JAVA_HOME/bin/keytool

/usr/lib/jvm/java-1.5.0-sun/bin/keytool

Check to see if you have this file/directory/etc… and if not, try reinstalling your java package

17.

17.

Johnand if not, try reinstalling your java package 17. April 17th, 2010 REPLY QUOTE 18 of

April 17th, 2010file/directory/etc… and if not, try reinstalling your java package 17. John REPLY QUOTE 18 of 27

REPLYand if not, try reinstalling your java package 17. John April 17th, 2010 QUOTE 18 of

QUOTEand if not, try reinstalling your java package 17. John April 17th, 2010 REPLY 18 of

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

initcaisidata.sql has an error at line 204. Add ,NULL

To the end if each insert. It should look like this and then it will work.

INSERT INTO `intake_node` VALUES (1, 1, NULL, 0, NULL, false, 1, 1, NULL, NULL,1,NULL,0,NULL), (2, 2, NULL, 0, NULL, false, 2, 1, NULL, NULL,2,NULL,0,NULL);

18.

18.

John18. April 17th, 2010 REPLY QUOTE This might help someone while performing the database conversion: java

April 17th, 201018. John REPLY QUOTE This might help someone while performing the database conversion: java -cp

REPLY18. John April 17th, 2010 QUOTE This might help someone while performing the database conversion: java

QUOTE18. John April 17th, 2010 REPLY This might help someone while performing the database conversion: java

This might help someone

while performing the database conversion:

java -cp .:/usr/local/tomcat/webapps/oscar/WEB-INF/lib/mysql-connector-java-3.0.11-stable-bin.jar importCasemgmt /usr/local/tomcat/oscar.properties

I got the following error:

Exception in thread “main” java.lang.UnsupportedClassVersionError: Bad version number in .class file

Cause: The supplied importCasemgmt.java was compiled by newer compiler version.

Solved by recompiling. cd to the mysql directory and run javac importCasemgmt.java

then rerun java -cp .:/usr/local/tomcat/webapps/oscar/WEB-INF/lib/mysql-connector-java-3.0.11-stable-bin.jar importCasemgmt /usr/local/tomcat/oscar.properties

19.

19.

robimportCasemgmt /usr/local/tomcat/oscar.properties 19. April 21st, 2010 REPLY QUOTE java compile of echart I’m

April 21st, 2010/usr/local/tomcat/oscar.properties 19. rob REPLY QUOTE java compile of echart I’m having trouble with

REPLY19. rob April 21st, 2010 QUOTE java compile of echart I’m having trouble with the

QUOTE19. rob April 21st, 2010 REPLY java compile of echart I’m having trouble with the java

java compile of echart

I’m having trouble with the java compile of the echart.

Here’s two attempts, one with the recommended java connector (3.0.11) and one with the 5.1.16 connector:

cd $HOME/src/oscar_source/oscar_mcmaster/database/mysql

manya@manya:~/src/oscar_source/oscar_mcmaster/database/mysql$ manya@manya:~/src/oscar_source/oscar_mcmaster/database/mysql$ java -cp .:/usr/local/tomcat /webapps/oscar/WEB-INF/lib/mysql-connector-java-3.0.11-stable-bin.jar importCasemgmt /usr/local/tomcat/oscar.properties Driver com.mysql.jdbc.Driver URI jdbc:mysql://localhost/ DB NAME oscar_mcmaster

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

DB USER root DB PASSWD XXXXXXXXXXXXX DB ERROR: com.mysql.jdbc.Driver java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at importCasemgmt.main(importCasemgmt.java:77) manya@manya:~/src/oscar_source/oscar_mcmaster/database/mysql$ manya@manya:~/src/oscar_source/oscar_mcmaster/database/mysql$ java -cp .:/usr/share /java/mysql-connector-java-5.1.16.jar importCasemgmt ‘/usr/local/tomcat/oscar.properties’ Driver com.mysql.jdbc.Driver URI jdbc:mysql://localhost/ DB NAME oscar_mcmaster DB USER root DB PASSWD XXXXXXXXXX DB ERROR: com.mysql.jdbc.Driver java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at importCasemgmt.main(importCasemgmt.java:77) manya@manya:~/src/oscar_source/oscar_mcmaster/database/mysql$ echo $CLASSPATH

/usr/share/java/mysql-connector-java-5.1.16.jar

manya@manya:~/src/oscar_source/oscar_mcmaster/database/mysql$

Does anyone see the error of my ways?

20.

20.

Rob20. April 23rd, 2010 REPLY QUOTE @rob Replacing the 5.1.16 java jar solved that problem. 21.

April 23rd, 201020. Rob REPLY QUOTE @rob Replacing the 5.1.16 java jar solved that problem. 21.

REPLY20. Rob April 23rd, 2010 QUOTE @rob Replacing the 5.1.16 java jar solved that problem. 21.

QUOTE20. Rob April 23rd, 2010 REPLY @rob Replacing the 5.1.16 java jar solved that problem. 21.

@rob Replacing the 5.1.16 java jar solved that problem.

21.

21.

Wombat@rob Replacing the 5.1.16 java jar solved that problem. 21. April 29th, 2010 REPLY 20 of

April 29th, 2010QUOTE @rob Replacing the 5.1.16 java jar solved that problem. 21. Wombat REPLY 20 of 27

REPLY@rob Replacing the 5.1.16 java jar solved that problem. 21. Wombat April 29th, 2010 20 of

OSCAR Install Guide | Indivica |

QUOTEOSCAR Install Guide | Indivica | Hi I am setting Oscar for the first time, and

Hi

I am setting Oscar for the first time, and I have a few issues

http://indivica.com/?page_id=123

1 The CVS setp is broken, it comes up with bad login, so I am forced to download the source code directly.

2 The source code has no build.xml file, am I required to create it?

3 Tomcat5.5 package step no longer works, I am assuming tomcat5.5 has been superceeded by Tomcat 6. Is Oscar ready for tomcat 6 yet ?

Any chance of updated documentation ?

Ta

Wombat

22.

22.

David Daley22. April 30th, 2010 REPLY QUOTE   would suggest for first time installers to explicitly stick

April 30th, 201022. David Daley REPLY QUOTE   would suggest for first time installers to explicitly stick to

REPLY22. David Daley April 30th, 2010 QUOTE   would suggest for first time installers to explicitly

QUOTE22. David Daley April 30th, 2010 REPLY   would suggest for first time installers to explicitly

 

would suggest for first time installers to explicitly stick to the instructions, including running the same version of the infrastructure (i.e. 8.04.lts), and the save version of OSCAR (e.g. 9.06)

I

23.

23.

Basha8.04.lts), and the save version of OSCAR (e.g. 9.06) I 23. May 3rd, 2010 REPLY QUOTE

May 3rd, 2010and the save version of OSCAR (e.g. 9.06) I 23. Basha REPLY QUOTE   @Kevin Hey

REPLYversion of OSCAR (e.g. 9.06) I 23. Basha May 3rd, 2010 QUOTE   @Kevin Hey Kevin,

QUOTEof OSCAR (e.g. 9.06) I 23. Basha May 3rd, 2010 REPLY   @Kevin Hey Kevin, I

 

@Kevin Hey Kevin,

I

have same your problem , did you FIX ?

if you fix please can update how you fixed ?

 

thank

24.

24.

Melplease can update how you fixed ?   thank 24. May 12th, 2010 REPLY QUOTE @Wombat

May 12th, 2010can update how you fixed ?   thank 24. Mel REPLY QUOTE @Wombat I’ve just run

REPLYhow you fixed ?   thank 24. Mel May 12th, 2010 QUOTE @Wombat I’ve just run

QUOTEfixed ?   thank 24. Mel May 12th, 2010 REPLY @Wombat I’ve just run my own

@Wombat I’ve just run my own first ever download and build, and didn’t encounter the problems you found. Could there have been temporary trouble at sourceforge?

I’m running Ubuntu 9.04.

I anticipate I might have some trouble, since my existing PostgreSQL server is already running

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

UTF8, (although it didn’t seem to affect the DPD load — fingers crossed.)

25.

25.

Steve Bergman25. May 12th, 2010 REPLY QUOTE Kevin, Tried dowloading the Aptache Tom cat command, it appears

May 12th, 201025. Steve Bergman REPLY QUOTE Kevin, Tried dowloading the Aptache Tom cat command, it appears that

REPLY25. Steve Bergman May 12th, 2010 QUOTE Kevin, Tried dowloading the Aptache Tom cat command, it

QUOTE25. Steve Bergman May 12th, 2010 REPLY Kevin, Tried dowloading the Aptache Tom cat command, it

Kevin,

Tried dowloading the Aptache Tom cat command, it appears that tere may be a obsolete version out there now. Please can you recomend a work around. This is my ERROR Message.

“Package tomcat5.5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package tomcat5.5 has no installation candidate”

26.

26.

Steve BergmanE: Package tomcat5.5 has no installation candidate” 26. May 12th, 2010 REPLY QUOTE Kevin, I continued

May 12th, 2010tomcat5.5 has no installation candidate” 26. Steve Bergman REPLY QUOTE Kevin, I continued on with the

REPLYinstallation candidate” 26. Steve Bergman May 12th, 2010 QUOTE Kevin, I continued on with the installation

QUOTEcandidate” 26. Steve Bergman May 12th, 2010 REPLY Kevin, I continued on with the installation and

Kevin,

I continued on with the installation and then ran into this…

“administrator@ubuntu:~/src/oscar_source$ cd $HOME/src/oscar_source/oscar_mcmaster/build administrator@ubuntu:~/src/oscar_source/oscar_mcmaster/build$ ant Error: JAVA_HOME is not defined correctly. We cannot execute /usr/lib/jvm/java-1.5.0-sun/bin/java”

Do I have to blow the installation out completely and start again? Is this because tomcat was not found?

Sorry by=ut can you advise…

Thanks.

27.

27.

Steve Bergmanfound? Sorry by=ut can you advise… Thanks. 27. May 12th, 2010 REPLY QUOTE OK – 8.04.lts

May 12th, 2010by=ut can you advise… Thanks. 27. Steve Bergman REPLY QUOTE OK – 8.04.lts is what is

REPLYadvise… Thanks. 27. Steve Bergman May 12th, 2010 QUOTE OK – 8.04.lts is what is required

QUOTEThanks. 27. Steve Bergman May 12th, 2010 REPLY OK – 8.04.lts is what is required and

OK – 8.04.lts is what is required and I have got 10.04.lts – I will start again. Do you know of a mirror site that still offers 8.04.lts? I have traced it via google and other searches and always end up at the 10.04 version.

Sorry but can you assist me?

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

28.

28.

Steve Bergman28. May 13th, 2010 REPLY QUOTE My Humble apologies, I re-read carefully your instructions, relaized I

May 13th, 201028. Steve Bergman REPLY QUOTE My Humble apologies, I re-read carefully your instructions, relaized I had

REPLY28. Steve Bergman May 13th, 2010 QUOTE My Humble apologies, I re-read carefully your instructions, relaized

QUOTE28. Steve Bergman May 13th, 2010 REPLY My Humble apologies, I re-read carefully your instructions, relaized

My Humble apologies, I re-read carefully your instructions, relaized I had a newer version of UBUNTU and that cause all the issues with TomCat. Rebuilt the whole configuration – This time correctly. There were some issues arround the SUN Java build, I believe i managed arrounf the issue. BUT….

When doing the Build I did not get BUILD SUCCESSFUL message, after investigation i found that the lib directory, in the (/usr/lib/jvm/java-1.5.0-sun-1.5.0.22) it does not exist.

Is their a way I can get this without restarting from the begining… ?

Please let me know.

29.

29.

Garyrestarting from the begining… ? Please let me know. 29. May 15th, 2010 REPLY QUOTE Lots

May 15th, 2010from the begining… ? Please let me know. 29. Gary REPLY QUOTE Lots of help, eh?

REPLYbegining… ? Please let me know. 29. Gary May 15th, 2010 QUOTE Lots of help, eh?

QUOTE? Please let me know. 29. Gary May 15th, 2010 REPLY Lots of help, eh? I

Lots of help, eh? I think we need old Tomcat. Where?

30.

30.

RoyLots of help, eh? I think we need old Tomcat. Where? 30. May 22nd, 2010 REPLY

May 22nd, 2010Lots of help, eh? I think we need old Tomcat. Where? 30. Roy REPLY QUOTE I

REPLYI think we need old Tomcat. Where? 30. Roy May 22nd, 2010 QUOTE I followed the

QUOTEwe need old Tomcat. Where? 30. Roy May 22nd, 2010 REPLY I followed the guide and

I followed the guide and was able to install Oscar properly, except for one thing :

https://localhost:8443/oscar don’t work. I tried on firefox I get “Firefox can’t establish a connection to the server at localhost:8443.” I searched for hours to find a solution, but no success. I use tomcat5.5 with java-6-sun. Any idea?

Thanks for this great guide!

31.

31.

David Daleywith java-6-sun. Any idea? Thanks for this great guide! 31. May 22nd, 2010 REPLY QUOTE if

May 22nd, 2010Any idea? Thanks for this great guide! 31. David Daley REPLY QUOTE if you are using

REPLYThanks for this great guide! 31. David Daley May 22nd, 2010 QUOTE if you are using

QUOTEfor this great guide! 31. David Daley May 22nd, 2010 REPLY if you are using “localhost”,

if you are using “localhost”, this would assume that you are running firefox on your local server. if you are running firefox on your PC/Mac, and OSCAR is on a separate machine, then you need to use the ip address of the server machine

32.

32.

Royis on a separate machine, then you need to use the ip address of the server

OSCAR Install Guide | Indivica |

May 22nd, 2010OSCAR Install Guide | Indivica | REPLY QUOTE http://indivica.com/?page_id=123 Thank you! Oscar works fine with localhost

REPLYOSCAR Install Guide | Indivica | May 22nd, 2010 QUOTE http://indivica.com/?page_id=123 Thank you! Oscar works fine

QUOTEOSCAR Install Guide | Indivica | May 22nd, 2010 REPLY http://indivica.com/?page_id=123 Thank you! Oscar works fine

http://indivica.com/?page_id=123

Thank you! Oscar works fine with localhost or IP addresses on my small network, with port 8180 (which is unsecured even if redirected toward 8443 right?). The problem is that I can’t have secure connection, even after following the instructions exactly and verifying many times to make sure there is no mistakes.

I have installed Oscar on Ubuntu 9.10 Desktop, so maybe Tomcat5.5 is conflicting with something

else?

Also, When I run a port scan (from Network Tools), I find ports 22, 8180 and a few other, but no 443 nor 8443. The firewall, ufw, is not blocking port 8443. I do not know where to look anymore to

make this work. If you have any hints, please let me know!

33.

33.

Roy33. May 24th, 2010 REPLY QUOTE Finally I was able to make the https connection work,

May 24th, 201033. Roy REPLY QUOTE Finally I was able to make the https connection work, by creating

REPLY33. Roy May 24th, 2010 QUOTE Finally I was able to make the https connection work,

QUOTE33. Roy May 24th, 2010 REPLY Finally I was able to make the https connection work,

Finally I was able to make the https connection work, by creating a certificate at /etc/tomcat5.5 /.keystore instead of /root/.keystore. So changing the location of the keystore made it work,

surprisingly…

34.

34.

RKHlocation of the keystore made it work, surprisingly… 34. May 26th, 2010 REPLY QUOTE Hi –

May 26th, 2010of the keystore made it work, surprisingly… 34. RKH REPLY QUOTE Hi – Does anyone know

REPLYmade it work, surprisingly… 34. RKH May 26th, 2010 QUOTE Hi – Does anyone know how

QUOTEmade it work, surprisingly… 34. RKH May 26th, 2010 REPLY Hi – Does anyone know how

Hi – Does anyone know how to set up the Lab environment on OSCAR? Thanks!

35.

35.

Chodhow to set up the Lab environment on OSCAR? Thanks! 35. October 21st, 2010 REPLY QUOTE

October 21st, 2010to set up the Lab environment on OSCAR? Thanks! 35. Chod REPLY QUOTE Hi all, I

REPLYon OSCAR? Thanks! 35. Chod October 21st, 2010 QUOTE Hi all, I tried to follow this

QUOTEon OSCAR? Thanks! 35. Chod October 21st, 2010 REPLY Hi all, I tried to follow this

Hi all,

I tried to follow this guide explicitly, but must admit I stumbled a few times but it was a good learning curve.

I have run into a problem I cannot fix though. When I do the ./create_database.sh under postgres, it comes up with a database creation error saying that the encoding LATIN1 does not match the server’s locale of en_CA.UTF-8.

This therefore fails to create the tables and ofcourse, cannot proceed to import the drugs from drugref.

I tried re-installing postgres and python with export LC_ALL=C and then after installation unset

LC_ALL, but this doesn’t seem to make any difference. Is there anything else I can do to test or

OSCAR Install Guide | Indivica |

solve my problem?

Thanks,

Chod.

http://indivica.com/?page_id=123

36.

36.

Chod36. October 21st, 2010 REPLY QUOTE @Chod Fixed. I had to dpkg –purge Postgres totally and

October 21st, 201036. Chod REPLY QUOTE @Chod Fixed. I had to dpkg –purge Postgres totally and re-install and

REPLY36. Chod October 21st, 2010 QUOTE @Chod Fixed. I had to dpkg –purge Postgres totally and

QUOTE36. Chod October 21st, 2010 REPLY @Chod Fixed. I had to dpkg –purge Postgres totally and

@Chod

Fixed.

I had to dpkg –purge Postgres totally and re-install and now the scripts worked fine. Although the import script only took about 30 seconds… is that right or is something still wrong?

Upon testing, when i go to prescribing a drug, i can search for a drug, but when i click on one it gives an error.

JavaClient: XML-RPC Fault #1: org.apache.xmlrpc.XmlRpcException: :ERROR: operator does not exist: integer = character varying LINE 1: …ere tc.tc_atc_number = ‘J01CA04′ and tc.drug_code = sd.drug_… ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

Any ideas?

37.

37.

Ahmed EltawilYou might need to add explicit type casts. Any ideas? 37. October 22nd, 2010 REPLY QUOTE

October 22nd, 2010to add explicit type casts. Any ideas? 37. Ahmed Eltawil REPLY QUOTE @Kevin How did you

REPLYtype casts. Any ideas? 37. Ahmed Eltawil October 22nd, 2010 QUOTE @Kevin How did you get

QUOTEcasts. Any ideas? 37. Ahmed Eltawil October 22nd, 2010 REPLY @Kevin How did you get over

@Kevin

How did you get over this problem? I am facing the same issue with my installation too. Any help is highly appreciated.

38.

38.

Amitmy installation too. Any help is highly appreciated. 38. October 29th, 2010 REPLY QUOTE @Chod I

October 29th, 2010too. Any help is highly appreciated. 38. Amit REPLY QUOTE @Chod I am also facing the

REPLYhelp is highly appreciated. 38. Amit October 29th, 2010 QUOTE @Chod I am also facing the

QUOTEis highly appreciated. 38. Amit October 29th, 2010 REPLY @Chod I am also facing the same

@Chod

I am also facing the same problem in selecting a drug. Were you able to find any solution/workaround?

For others, I am facing problems adding drugs to a prescription. I am able to search for drugs. But, I get the following error when I try to select it.

OSCAR Install Guide | Indivica |

http://indivica.com/?page_id=123

JavaClient: XML-RPC Fault #1: org.apache.xmlrpc.XmlRpcException: :ERROR: operator does not exist: integer = character varying LINE 1: …ere tc.tc_atc_number = ‘M01AE01′ and tc.drug_code = sd.drug_… ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

Any clues?

Thanks

39.

39.

Gordon McCague39. November 26th, 2010 REPLY QUOTE Hi Gang: It seems that Ubuntu is dropping SUN Java

November 26th, 201039. Gordon McCague REPLY QUOTE Hi Gang: It seems that Ubuntu is dropping SUN Java for

REPLY39. Gordon McCague November 26th, 2010 QUOTE Hi Gang: It seems that Ubuntu is dropping SUN

QUOTE39. Gordon McCague November 26th, 2010 REPLY Hi Gang: It seems that Ubuntu is dropping SUN

Hi Gang: It seems that Ubuntu is dropping SUN Java for OpenJDK. How do we get the right Java installed on the server? The command in this document is not working for me.

40.

40.

RoshanThe command in this document is not working for me. 40. December 13th, 2010 REPLY QUOTE

December 13th, 2010command in this document is not working for me. 40. Roshan REPLY QUOTE @Rob Hi Rob,

REPLYis not working for me. 40. Roshan December 13th, 2010 QUOTE @Rob Hi Rob, I am

QUOTEis not working for me. 40. Roshan December 13th, 2010 REPLY @Rob Hi Rob, I am

@Rob Hi Rob, I am new to this. I am exactly having same problem as you’ve mentioned. But having hard time figuring out how to replace java jar 5.1.16 Thanks in advance. Roshan

41.

41.

George Kruzykhow to replace java jar 5.1.16 Thanks in advance. Roshan 41. January 23rd, 2011 REPLY QUOTE

January 23rd, 2011java jar 5.1.16 Thanks in advance. Roshan 41. George Kruzyk REPLY QUOTE @Walter This worked: change

REPLYin advance. Roshan 41. George Kruzyk January 23rd, 2011 QUOTE @Walter This worked: change password for

QUOTEadvance. Roshan 41. George Kruzyk January 23rd, 2011 REPLY @Walter This worked: change password for root

@Walter This worked: change password for root back to original password in file oscar_mcmaster.properties (“liyi” in the case of my version).

42.

42.

Raj(“liyi” in the case of my version). 42. January 26th, 2011 REPLY QUOTE Hello – What

January 26th, 2011(“liyi” in the case of my version). 42. Raj REPLY QUOTE Hello – What is the

REPLYin the case of my version). 42. Raj January 26th, 2011 QUOTE Hello – What is

QUOTEcase of my version). 42. Raj January 26th, 2011 REPLY Hello – What is the latest

Hello – What is the latest version of OSCAR? Is there an upgrade tool that will automatically upgrade the current OSCAR version to a new one keeping everything intact? Basically looking for a seamless upgrade installer!

Thanks,

OSCAR Install Guide | Indivica |

Raj.

TrackBack URL

OSCAR Install Guide | Indivica | Raj. TrackBack URL 1. No trackbacks yet. NAME( required )

1. No trackbacks yet.

Guide | Indivica | Raj. TrackBack URL 1. No trackbacks yet. NAME( required ) E-MAIL( required

NAME( required ) E-MAIL( required ) - will not be published - URL

required ) E-MAIL( required ) - will not be published - URL Return top Copyright ©
required ) E-MAIL( required ) - will not be published - URL Return top Copyright ©
required ) E-MAIL( required ) - will not be published - URL Return top Copyright ©
required ) E-MAIL( required ) - will not be published - URL Return top Copyright ©

Return top

E-MAIL( required ) - will not be published - URL Return top Copyright © 2008-2011 Indivica

Copyright © 2008-2011 Indivica

http://indivica.com/?page_id=123