Setup on Tomcat with HANA

Prerequisites

Download and unpack Apache Tomcat 8.0.x from here.

More information about how to deploy on Tomcat can be found here.

macOS

brew install ttyd

Linux

Linux support is built-in

More info about ttyd can be found at: ttyd

HANA

Install HANA Express:

https://www.sap.com/developer/topics/sap-hana-express.html

Set the Environment Variables

export DIRIGIBLE_DATABASE_PROVIDER=custom
export DIRIGIBLE_DATABASE_CUSTOM_DATASOURCES=HANA
export DIRIGIBLE_DATABASE_DATASOURCE_NAME_DEFAULT=HANA
export HANA_DRIVER=com.sap.db.jdbc.Driver
export HANA_URL=jdbc:sap://<host>:<port>
export HANA_USERNAME=<user>
export HANA_PASSWORD=<password>
export DIRIGIBLE_SCHEDULER_DATABASE_DRIVER=com.sap.db.jdbc.Driver
export DIRIGIBLE_SCHEDULER_DATABASE_URL=jdbc:sap://<host>:<port>
export DIRIGIBLE_SCHEDULER_DATABASE_USER=<user>
export DIRIGIBLE_SCHEDULER_DATABASE_PASSWORD=<password>
export DIRIGIBLE_MESSAGING_USE_DEFAULT_DATABASE=false
export DIRIGIBLE_FLOWABLE_USE_DEFAULT_DATABASE=false

Deploy

Copy the deployable artifact e.g. ROOT.war to */webapps*.

Start

Run Tomcat server via strtup.sh.

Go to the following locations:

http://localhost:8080/

Edit