Eclipse Open Healthcare Framework (OHF) Bridge
Installing the OHF Bridge
Getting Started
The following describes a typical installation path for the OHF Bridge. The process
involves using the bundled Apache Axis libraries and server-side Equinox Servlet container
in Apache Tomcat to deploy the Bridge as a Web service. There are additional paths, including
deploying within Jetty or WebSphere as well as using the OHF Bridge as a POJO. If you wish
to build the OHF Bridge from CVS, please go here.
Requirements
For running the OHF Bridge in a Tomcat environment, please obtain the following components.
Note that many of the resources below are included in the "OHF Bridge Installation" package and
do not need to be downloaded twice.
- Sun Java JDK Version 5 (Java 6 currently not supported!)
- Apache Tomcat 5.5.x
- Eclipse OHF Bridge version 0.2.0
- Eclipse OHF IHE, HL7v2, and common libraries version 0.2.0 (Included)
- Apache Axis 1.4 (Included)
If you are not using the Installation Package provided, the following additional downloads
are required:
- Eclipse SDK 3.2.2
- OHF Bridge configuration files
- Eclipse Equinox/OSGi server-side Servlet (WAR file)
- Eclipse Modeling Framework 2.2.x
- Various Eclipse runtime libraries (Obtained from your Eclipse installation, see list below.)
Installation from the Installation Package (RECOMMENDED)
The easiest way to get the OHF Bridge up and running is to use the installation
package that contains all dependencies, with the exception of Tomcat. Follow these
steps to get the OHF Bridge up and running in Tomcat.
- Obtain required files (Tomcat 5.5, OHF Bridge Installation Package
-
Install Apache Tomcat
If Tomcat is already installed, stop the process and delete the Catalina directory under [tomcat home]/work/ before continuing.
- Unzip the OHF Bridge Installation Package files into the root directory of your Tomcat installation.
- Start Tomcat. If you installed Tomcat as a service, it is likely already started. You will need to restart it.
- Verify you get a Web service description (WSDL/XML) by going to http://localhost:8080/bridge/services/ohf-bridge?wsdl.
That's it! You're now ready to use the OHF Bridge! Click here for more information on how to use the OHF Bridge.
Installation from scratch
The following is a step-by-step guide to setting up the OHF Bridge from scratch. The process
essentially involves the same process that is needed to create the installation package from above.
It is strongly recommended that you use the installation method outlined in the previous section.
Only follow this path if you're interested in how the Bridge is really setup! :)
Step 1: Install and prepare Tomcat
- Obtain all required files (listed above)
-
Install Apache Tomcat
If Tomcat is already installed, stop the process and delete the Catalina directory under [tomcat home]/work/ before continuing.
- If started, stop Tomcat. If you installed Tomcat as a service, it was probably automatically started.
- Place the Eclipse Equinox WAR file in the [tomcat home]/webapps/ folder. Optionally you can use the Tomcat deployment manager to deploy the WAR.
- Start Tomcat, preferably from the command line (using the Catalina script). Verify that you get an osgi> prompt.
- Stop Tomcat by either killing the process or typing exit at the OSGi prompt.
Step 2: Install the Bridge and required components
- Extract the JAR files from the OHF Bridge binary package (not the install package) into the [tomcat home]/webapps/bridge/WEB-INF/eclipse/plugins/ directory.
-
Copy the following Eclipse runtime libraries from your Eclipse 3.2.x plugins
directory into the [tomcat home]/webapps/bridge/WEB-INF/eclipse/plugins
directory. The * means you match your version of those files.
- org.eclipse.core.runtime_3.2.*.jar
- org.eclipse.core.jobs_3.2.*.jar
- org.eclipse.equinox.preferences_3.2.*.jar
- org.eclipse.core.contenttype_3.2.*.jar
-
Copy the following Eclipse Modeling Framework (EMF) libraries from either your Eclipse 3.2.x plugins directory
OR the EMF 2.2.x download package into the [tomcat home]/webapps/bridge/WEB-INF/eclipse/plugins/
directory. The * means you match your version of those files.
- org.eclipse.emf.ecore_2.2.*.jar
- org.eclipse.emf.common_2.2.*.jar
- org.eclipse.emf.ecore.xmi_2.2.*.jar
Step 3: Configure the Bridge and Tomcat
- Extract the contents of the OHF Bridge configuration package into the [tomcat home]/conf/ directory.
- Append ",org.eclipse.ohf.bridge.ws@:start,org.eclipse.ohf.bridge@:start" (remember the leading comma!) to the osgi.bundles property in the [tomcat home]/webapps/bridge/WEB-INFO/eclipse/configuration/config.ini file
- Copy the Web service deployment descriptor (server-config.wsdd) from the [tomcat home]/conf/ directory to the [tomcat home]/webapps/bridge/WEB-INF/ directory.
Step 4: Run it!
- Start Apache Tomcat.
- Verify you get a Web service description (WSDL/XML) by going to http://localhost:8080/bridge/services/ohf-bridge?wsdl.
Getting Started
The following describes a typical installation path for the OHF Bridge. The process involves using the bundled Apache Axis libraries and server-side Equinox Servlet container in Apache Tomcat to deploy the Bridge as a Web service. There are additional paths, including deploying within Jetty or WebSphere as well as using the OHF Bridge as a POJO. If you wish to build the OHF Bridge from CVS, please go here.
Requirements
For running the OHF Bridge in a Tomcat environment, please obtain the following components. Note that many of the resources below are included in the "OHF Bridge Installation" package and do not need to be downloaded twice.
- Sun Java JDK Version 5 (Java 6 currently not supported!)
- Apache Tomcat 5.5.x
- Eclipse OHF Bridge version 0.2.0
- Eclipse OHF IHE, HL7v2, and common libraries version 0.2.0 (Included)
- Apache Axis 1.4 (Included)
If you are not using the Installation Package provided, the following additional downloads are required:
- Eclipse SDK 3.2.2
- OHF Bridge configuration files
- Eclipse Equinox/OSGi server-side Servlet (WAR file)
- Eclipse Modeling Framework 2.2.x
- Various Eclipse runtime libraries (Obtained from your Eclipse installation, see list below.)
Installation from the Installation Package (RECOMMENDED)
The easiest way to get the OHF Bridge up and running is to use the installation package that contains all dependencies, with the exception of Tomcat. Follow these steps to get the OHF Bridge up and running in Tomcat.
- Obtain required files (Tomcat 5.5, OHF Bridge Installation Package
-
Install Apache Tomcat
- If Tomcat is already installed, stop the process and delete the Catalina directory under [tomcat home]/work/ before continuing.
- Unzip the OHF Bridge Installation Package files into the root directory of your Tomcat installation.
- Start Tomcat. If you installed Tomcat as a service, it is likely already started. You will need to restart it.
- Verify you get a Web service description (WSDL/XML) by going to http://localhost:8080/bridge/services/ohf-bridge?wsdl.
That's it! You're now ready to use the OHF Bridge! Click here for more information on how to use the OHF Bridge.
Installation from scratch
The following is a step-by-step guide to setting up the OHF Bridge from scratch. The process essentially involves the same process that is needed to create the installation package from above. It is strongly recommended that you use the installation method outlined in the previous section. Only follow this path if you're interested in how the Bridge is really setup! :)
-
Step 1: Install and prepare Tomcat
- Obtain all required files (listed above)
-
Install Apache Tomcat
- If Tomcat is already installed, stop the process and delete the Catalina directory under [tomcat home]/work/ before continuing.
- If started, stop Tomcat. If you installed Tomcat as a service, it was probably automatically started.
- Place the Eclipse Equinox WAR file in the [tomcat home]/webapps/ folder. Optionally you can use the Tomcat deployment manager to deploy the WAR.
- Start Tomcat, preferably from the command line (using the Catalina script). Verify that you get an osgi> prompt.
- Stop Tomcat by either killing the process or typing exit at the OSGi prompt. Step 2: Install the Bridge and required components
- Extract the JAR files from the OHF Bridge binary package (not the install package) into the [tomcat home]/webapps/bridge/WEB-INF/eclipse/plugins/ directory.
-
Copy the following Eclipse runtime libraries from your Eclipse 3.2.x plugins
directory into the [tomcat home]/webapps/bridge/WEB-INF/eclipse/plugins
directory. The * means you match your version of those files.
- org.eclipse.core.runtime_3.2.*.jar
- org.eclipse.core.jobs_3.2.*.jar
- org.eclipse.equinox.preferences_3.2.*.jar
- org.eclipse.core.contenttype_3.2.*.jar
-
Copy the following Eclipse Modeling Framework (EMF) libraries from either your Eclipse 3.2.x plugins directory
OR the EMF 2.2.x download package into the [tomcat home]/webapps/bridge/WEB-INF/eclipse/plugins/
directory. The * means you match your version of those files.
- org.eclipse.emf.ecore_2.2.*.jar
- org.eclipse.emf.common_2.2.*.jar
- org.eclipse.emf.ecore.xmi_2.2.*.jar
Step 3: Configure the Bridge and Tomcat
- Extract the contents of the OHF Bridge configuration package into the [tomcat home]/conf/ directory.
- Append ",org.eclipse.ohf.bridge.ws@:start,org.eclipse.ohf.bridge@:start" (remember the leading comma!) to the osgi.bundles property in the [tomcat home]/webapps/bridge/WEB-INFO/eclipse/configuration/config.ini file
- Copy the Web service deployment descriptor (server-config.wsdd) from the [tomcat home]/conf/ directory to the [tomcat home]/webapps/bridge/WEB-INF/ directory. Step 4: Run it!
- Start Apache Tomcat.
- Verify you get a Web service description (WSDL/XML) by going to http://localhost:8080/bridge/services/ohf-bridge?wsdl.

