Running standalone

Spring Boot as runtime framework of OpenHub supports running standalone via executable jar/war. This feature is also supported by OpenHub framework.

How to build

OpenHub uses fat war approach - basically all necessary dependencies are packaged together and this war archive can by launched by Spring Boot WarLauncher. To package all dependencies (DB drivers, embedded servlet container and so on) it is necessary to use maven profile esb.executable:

Result of build can be found in war/target/openhub-exec.war (relative to root of project).


By default OpenHub uses Tomcat as embedded servlet container. Actually Tomcat 8.x is used, but it is possible to change version of tomcat:

There are many ways how OpenHub (generally Spring Boot application) can be started:

  • via command line (in root of project where OpenHub is dowloaded or cloned):

  • via development environment (examples,h2 spring profiles have to be activated)

  • via running script

    This script is in root of downloaded (or cloned) project. It is free to change, by default this script expects openhub-exec.war in same folder as running script.
  • or via cloud provider

After OpenHub runs you can verify that everything is ok via http://localhost:8080/http/version (if you use default server address and port binding). Or look at Admin GUI (see login credentials) at address http://localhost:8080/web/admin/console/