Getting the following error while deploying :
INFO: ENGINE-08024 Found processes.xml file at file:/D:/camunda-bpm-tomcat-7.5.0/server/apache-tomcat-8.0.24/webapps/camunda-example-multi-tenancy-tenant-identifier-shared/WEB-INF/classes/META-INF/processes.xml
Sep 28, 2016 12:57:54 PM org.camunda.commons.logging.BaseLogger logInfo
INFO: ENGINE-08023 Deployment summary for process archive ‘tenant2-archive’:
tenant2_process.bpmn
Sep 28, 2016 12:57:54 PM org.camunda.commons.logging.BaseLogger logError
SEVERE: ENGINE-16004 Exception while closing command context:
Error querying database. Cause: org.h2.jdbc.JdbcSQLException: Column “D.SOURCE_” not found; SQL statement:
CREATE FORCE VIEW PUBLIC.0 AS
SELECT
B.NAME,
MAX(D.DEPLOY_TIME_) AS DEPLOY_TIME_
FROM PUBLIC.ACT_GE_BYTEARRAY B
INNER JOIN PUBLIC.ACT_RE_DEPLOYMENT D
ON 1=1
WHERE (((D.NAME_ = ?1)
AND ((D.SOURCE_ IS NULL)
OR (D.SOURCE_ = ?2)))
AND (B.NAME_ IN(?3)))
AND (B.DEPLOYMENT_ID_ = D.ID_)
GROUP BY B.NAME_ [42122-168]
The error may exist in org/camunda/bpm/engine/impl/mapping/entity/Resource.xml
The error may involve org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity.selectLatestResourcesByDeploymentName
The error occurred while executing a query
SQL: select B.* from ACT_GE_BYTEARRAY B inner join (select B.NAME_, MAX(D.DEPLOY_TIME_) DEPLOY_TIME_ from ACT_GE_BYTEARRAY B inner join ACT_RE_DEPLOYMENT D on B.DEPLOYMENT_ID_ = D.ID_ where D.NAME_ = ? and (D.SOURCE_ is null or D.SOURCE_ = ? ) and B.NAME_ in ( ? ) group by B.NAME_) LAST_RESOURCE on B.NAME_ = LAST_RESOURCE.NAME_ inner join ACT_RE_DEPLOYMENT D on B.DEPLOYMENT_ID_ = D.ID_ and D.DEPLOY_TIME_ = LAST_RESOURCE.DEPLOY_TIME_ and D.NAME_ = ? and (D.SOURCE_ is null or D.SOURCE_ = ? ) and D.TENANT_ID_ = ?
Cause: org.h2.jdbc.JdbcSQLException: Column “D.SOURCE_” not found; SQL statement:
CREATE FORCE VIEW PUBLIC.0 AS
SELECT
B.NAME,
MAX(D.DEPLOY_TIME_) AS DEPLOY_TIME_
FROM PUBLIC.ACT_GE_BYTEARRAY B
INNER JOIN PUBLIC.ACT_RE_DEPLOYMENT D
ON 1=1
WHERE (((D.NAME_ = ?1)
AND ((D.SOURCE_ IS NULL)
OR (D.SOURCE_ = ?2)))
AND (B.NAME_ IN(?3)))
AND (B.DEPLOYMENT_ID_ = D.ID_)
GROUP BY B.NAME_ [42122-168]
org.apache.ibatis.exceptions.PersistenceException:
Error querying database. Cause: org.h2.jdbc.JdbcSQLException: Column “D.SOURCE_” not found; SQL statement:
CREATE FORCE VIEW PUBLIC.0 AS
SELECT
B.NAME,
MAX(D.DEPLOY_TIME_) AS DEPLOY_TIME_
FROM PUBLIC.ACT_GE_BYTEARRAY B
INNER JOIN PUBLIC.ACT_RE_DEPLOYMENT D
ON 1=1
WHERE (((D.NAME_ = ?1)
AND ((D.SOURCE_ IS NULL)
OR (D.SOURCE_ = ?2)))
AND (B.NAME_ IN(?3)))
AND (B.DEPLOYMENT_ID_ = D.ID_)
GROUP BY B.NAME_ [42122-168]
The error may exist in org/camunda/bpm/engine/impl/mapping/entity/Resource.xml
The error may involve org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity.selectLatestResourcesByDeploymentName
The error occurred while executing a query
SQL: select B.* from ACT_GE_BYTEARRAY B inner join (select B.NAME_, MAX(D.DEPLOY_TIME_) DEPLOY_TIME_ from ACT_GE_BYTEARRAY B inner join ACT_RE_DEPLOYMENT D on B.DEPLOYMENT_ID_ = D.ID_ where D.NAME_ = ? and (D.SOURCE_ is null or D.SOURCE_ = ? ) and B.NAME_ in ( ? ) group by B.NAME_) LAST_RESOURCE on B.NAME_ = LAST_RESOURCE.NAME_ inner join ACT_RE_DEPLOYMENT D on B.DEPLOYMENT_ID_ = D.ID_ and D.DEPLOY_TIME_ = LAST_RESOURCE.DEPLOY_TIME_ and D.NAME_ = ? and (D.SOURCE_ is null or D.SOURCE_ = ? ) and D.TENANT_ID_ = ?
Cause: org.h2.jdbc.JdbcSQLException: Column “D.SOURCE_” not found; SQL statement:
…