After dumping the two WAR files the /app starts but /app-core does not. Experience the same issue on Tomcat 8 & 8.5
Java 1.8.0_121-b13
- 2017-03-22 01:09:12.843 INFO [http-nio-8080-exec-10] com.haulmont.cuba.core.sys.AppContextLoader - DbmsType of the main database is set to postgres
2017-03-22 01:09:12.935 INFO [http-nio-8080-exec-10] com.haulmont.cuba.core.sys.persistence.PersistenceConfigProcessor - Creating file C:\Program Files\Apache Software Foundation\Tomcat 8.0\${app.home}\app-core\work\persistence.xml
2017-03-22 01:09:13.061 INFO [http-nio-8080-exec-10] com.haulmont.cuba.core.sys.CubaCoreApplicationContext - Refreshing com.haulmont.cuba.core.sys.CubaCoreApplicationContext@6ac848b4: startup date [Wed Mar 22 01:09:13 WAST 2017]; root of context hierarchy
2017-03-22 01:09:13.990 WARN [http-nio-8080-exec-10] com.haulmont.cuba.core.sys.CubaCoreApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'entityManagerFactory' defined in class path resource [cuba-spring.xml]: Could not resolve placeholder 'app.home' in string value "${app.home}/app-core/work"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'app.home' in string value "${app.home}/app-core/work"
2017-03-22 01:09:14.001 ERROR [http-nio-8080-exec-10] com.haulmont.cuba.core.sys.AppContextLoader - Error initializing application
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'entityManagerFactory' defined in class path resource [cuba-spring.xml]: Could not resolve placeholder 'app.home' in string value "${app.home}/app-core/work"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'app.home' in string value "${app.home}/app-core/work"