Skip to content

Running Only the FHIR Toolkit (without HAPI FHIR or XDS Toolkit)

Sunil Bhaskarla edited this page Dec 4, 2019 · 1 revision

Running Only the FHIR Toolkit (without HAPI FHIR or XDS Toolkit)

If you are using XDS Toolkit for MHD Document Source Testing, XDS Toolkit must be started BEFORE FHIR Toolkit. The FHIR Toolkit initialization will setup the required simulators on the backend using the XDS Toolkit Simulator API.

If you are NOT using XDS Toolkit, you should comment off the xdsToolkitBase property in your service.properties file so that the FHIR Toolkit will not attempt to create the required XDS simulators.

Set the CATALINA_HOME and the CATALINA_BASE system environment variables and run the Tomcat startup batch file/script.

On Windows

Starting FHIR Toolkit

REM Set CATALINA_HOME to the Tomcat directory
SET CATALINA_HOME=<installation-directory>\tomcat
REM Set the FHIR Toolkit Catalina Base
SET CATALINA_BASE=%CATALINA_HOME%\Toolkits\FhirToolkit

REM Start Tomcat
%CATALINA_HOME%\bin\startup.bat

To access FHIR Toolkit, open browser to http://localhost:9760/

Stopping FHIR Toolkit

REM To shutdown Tomcat 
%CATALINA_HOME%\bin\shutdown.bat

On *nix

Starting FHIR Toolkit

# Set CATALINA_HOME to the Tomcat directory
export CATALINA_HOME=<installation-directory>/tomcat
# Set the FHIR Toolkit Catalina Base
export CATALINA_BASE=$CATALINA_HOME/Toolkits/FhirToolkit
# Start Tomcat
$CATALINA_HOME/bin/startup.sh

To access FHIR Toolkit, open browser to http://localhost:9760/

Stopping FHIR Toolkit

# To shutdown Tomcat
$CATALINA_HOME/bin/shutdown.sh
Clone this wiki locally