I have the full distribution with WildFly 10 running as service on CentOS 7 as wildfly user in /opt/wildfly/.
When the server starts the camunda-h2-dbs folder should be created where the db will be expected but the folder is not created an the server log shows an error which is:
javax.resource.ResourceException: IJ031084: Unable to create connection
org.h2.jdbc.JdbcSQLException: Error while creating file "/camunda-h2-dbs" [90062-168]
java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jboss/$jboss/datasources/ProcessEngine
Error getting a new connection. Cause: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jboss/datasources/ProcessEngine
Services which failed to start: service org.camunda.bpm.platform.process-engine.default: org.jboss.msc.service.StartException in service org.camunda.bpm.platform.proces$process-engine.default: org.camunda.bpm.engine.ProcessEngineException: ENGINE-03018 Could not check if tables are already present using metadata.
So far when WildFly startes the first time with the deployment of the standard web apps it creates the folder camunda-h2-dbs an the files in it. I have checked the rights for the user and they are ok. Any ideas why this could happen?