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?
The underling store is MySQL.
Thank you for your help!
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
# 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".
Documentation we currently have on configuring JNDI is here in case that helps - feedback on it is very welcome.