I use one instance of cmdbuild (webapp 2.4.1 and postgres 9.4 database) for my development needs.
And I would like to periodically copy that database to another postgres server for production.
But after I copy my database (through pgAdmin backup and restore), the production webapp fails to initialize.
I get the message: "Domains should start with Map_"
Part of the stack trace is:
WARN 2016-10-25 16:11:50 [org.springframework.web.context.support.XmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.jaxws.EndpointImpl--509787360': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: Domains should start with Map_
ERROR 2016-10-25 16:11:50 [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.jaxws.EndpointImpl--509787360': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: Domains should start with Map_
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)