I’m trying to setup the flowable-modeler WAR on my Wildfly server. Our datasources are configured via JNDI datasources defined on the container (something like: java:/dbs/workflow).
Would it be possible to configure the flowable-ui-app.properties file to access the database via JNDI?
Yes you can reference a JNDI name with the following properties:
# JNDI CONFIG
# If uncommented, the datasource will be looked up using the configured JNDI name.
# This will have preference over any datasource configuration done below that doesn't use JNDI
#
# Eg for JBoss: java:jboss/datasources/flowableDS
#
#datasource.jndi.name=jdbc/flowableDS
# Set whether the lookup occurs in a J2EE container, i.e. if the prefix "java:comp/env/" needs to be added if the JNDI
# name doesn't already contain it. Default is "true".
#datasource.jndi.resourceRef=true