I have Camunda 7.10 running on Tomcat 9.0.12.
The process engine datasource is configured in
/[tomcat-home]/conf/server.xml
and, by necessity, is available to all deployed web-apps.
I wish to configure a process specific datasource that is only available to that process.
For a normal web app, there is typically a
[tomcat-home]/webapps/[web-app-name]/META-INF/context.xml
configuration file that defines the datasource and the locator code that returns a javax.sql.DataSource using a javax.naming.InitialContext etc
Looking at the deployment of the specific process, there are two META-INF folders
[tomcat-home]\webapps\[process-name]\META-INF
[tomcat-home]\webapps\[process-name]\WEB-INF\classes\META-INF
The first has maven specific items. The second is where the process.xml file resides.
Using proven datasource locator code and putting a proven context.xml file here fails with
javax.naming.NameNotFoundException: Name [jdbc/recruitDS] is not bound in this Context. Unable to find [jdbc].
Searching for this only leads to information on the main Camunda process engine datasource configuration which is well covered in the manual, forums etc.