How to: |
Before installing Omni-Patient Management Central (OPMC), you must verify that Apache Tomcat Version 7.xx is available on the system where OPMC will be installed.
Use one of the following options to verify the availability of Apache Tomcat Version 7.xx on your system:
When the Command Prompt opens, enter the following command:
netstat -a -b
If not, then install Apache Tomcat Version 7.0 as a service on the OPMC host system.
http://tomcat.apache.org/download-70.cgi
The Apache Tomcat 7 Downloads page opens, as shown in the following image.
Note: The recommended download is the 32-bit/64-bit Windows Service Installer distribution because the additional setup and configuration tasks are automatically performed during the installation of Apache Tomcat. The Apache Tomcat Host Manager and Web Application Manager are also included with the installation.
The following procedure can be used for the Windows service installation distribution of Apache Tomcat.
By default, the Apache Tomcat installation installs the following Apache Tomcat home directory:
C:\Program Files\Apache Software Foundation\Tomcat 7.0
This location is defined as, and referred to as <CATALINA_HOME>, and also in this documentation, as [Tomcat_Home].
http://localhost:8080
If you're seeing this, you've successfully installed Tomcat. Congratulations!
For example:
The Apache Tomcat 7.0 Tomcat 7 Properties dialog box opens, as shown in the following image.
-Dcatalina.home=C:\Tomcat 7.0 -Dcatalina.base=C:\Tomcat 7.0 -Djava.endorsed.dirs=C:\Tomcat 7.0\endorsed -Dcom.microsoft.tfs.jni.native.base-directory=C:\OPMC_Home\tfs\native -Djava.io.tmpdir=C:\Tomcat 7.0\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Tomcat 7.0\conf\logging.properties -XX:PermSize=1024m -XX:MaxPermSize=2048m
For example:
http://localhost:8080
If you need to run the Omni-Patient Management Central (OPMC) application in Apache Tomcat on a port other than 8080 (for example, to avoid conflicts with another HTTP listener, application, or server), perform the following steps:
You can enter the following command to check for ports that are currently in use:
netstat -a
<Catalina_Home>\conf
<connector name="OmniService"> <type>ODATA</type> <odata_url>http://localhost:8082/OmniService/OmniPatient/</odata_url> <about_url>http://localhost:8082/OmniService/about.jsp</about_url> <queryString>$format=xml</queryString> </connector>
The following procedure can be used for the non-Windows service installation distribution of Apache Tomcat.
Apache Tomcat will be installed into the following directory:
C:\apache-tomcat-7.0.xx
The Apache Tomcat home directory, also referred to as [CATALINA_HOME], will point to this directory.
http://localhost:8080
If you're seeing this, you've successfully installed Tomcat. Congratulations!
For example:
set CATALINA_OPTS=-XX:MaxPermSize=256M