New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error When starting Order and Payement #5
Comments
seems like is that Caused by: java.lang.IllegalStateException: The file is locked: nio:/Users/cristianchiovari/Work/Projects/flowing-retail/camunda-db.mv.db [1.4.196/7] |
yeah - ideed. All services startup an own H2 database instance with a default file format located in the "current" directory. So if you start the mvn exec:java command from different directories it should work fine - if from the same they interfer. I will add some config to have different file names for the H2 databases to get rid of this. Thanks for reporting |
Thanks for response ... |
Noticed an error while starting thw two apps (individually they work)
Might be some shared lock on files ? same db ?
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-196])
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
The text was updated successfully, but these errors were encountered: