Patientview runs on tomcat and is written in java. Currently it uses java 7 and runs on tomcat 7. Plans are in place to upgrade to java8 and tomcat 8.5 which will require running tomcat from source.
RedHat 6 doesn't support tomcat 7 so the servers have run using the EPEL release however when an issue occurred with the latest release version we were forced to run a source code version temporarily until the fixed version of tomcat came out. The server is split between two instances of tomcat. One run from source located in /opt/tomcat-importer
(tomcat 7.0.52) which runs the importer tasks and handles the rabbitmq queue of messages and the other which runs the main site and api. There is an nginx front end that routes traffic to the correct local ports.
EPEL Setup
Patientview frontend is located in /opt/patientview
Patientview api and migration is located in /opt/lib/tomcat/webapps
Source configuration
Staging/Test
/opt/tomcat
(link to /opt/apache-tomcat-7.0.xxx
) is where the code is stored with the sub folder /opt/tomcat/webapps
containing the api
, manager
and migration
code.
/opt/patientview
contains the main frontend
code.
/opt/tomcat-importer
(link to /opt/apache-tomcat-7.0.52
) with /opt/tomcat-importer/webapps
containing the importer
code
Live
/root/apache-tomcat-7.0.xxx
contains the source code with the subfolder webapps containing the api
and {{migration}} code.
/opt/patieintview
contains the main frontend
code.
/opt/tomcat-importer
(link to /opt/apache-tomcat-7.0.52
) with /opt/tomcat-importer/webapps
containing the importer
code