Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12465

Camunda Cockpit is not aware of cmmnEnabled = false

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • 7.14.0-alpha3
    • cockpit
    • None

      Flag cmmnEnabled is set to false in egine's configuration (standalone-full.xml).
      Fresh Database without any tables.
      During startup the CMMN-related tables are not getting created as expected.

      But when opening Camunda Cockpit error messages appear on WildFly's server.log:

      ### Error querying database.  Cause: java.sql.SQLException: The specified table (act_re_case_def) is not in the database.### Error querying database. Cause: java.sql.SQLException: The specified table (act_re_case_def) is not in the database.
      ### The error may exist in org/camunda/bpm/engine/impl/mapping/entity/CaseDefinition.xml### The error may involve org.camunda.bpm.engine.impl.cmmn.entity.repository.CaseDefinitionEntity.selectCaseDefinitionCountByQueryCriteria
      ### The error occurred while executing a query### SQL: select count(distinct RES.ID_ )            from ACT_RE_CASE_DEF RES             inner join           (select KEY_, TENANT_ID_, max(VERSION_) as MAX_VERSION           from ACT_RE_CASE_DEF                        group by TENANT_ID_, KEY_) VER         on RES.KEY_ = VER.KEY_            WHERE  RES.VERSION_ = VER.MAX_VERSION and            (RES.TENANT_ID_ = VER.TENANT_ID_ or (RES.TENANT_ID_ is null and VER.TENANT_ID_ is null))
      ### Cause: java.sql.SQLException: The specified table (act_re_case_def) is not in the database.
       at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
       at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)
       at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
       at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:76)
       at org.camunda.bpm.engine.impl.db.sql.DbSqlSession.lambda$selectOne$3(DbSqlSession.java:122)
       at org.camunda.bpm.engine.impl.util.ExceptionUtil.doWithExceptionWrapper(ExceptionUtil.java:247)
      
      

        This is the controller panel for Smart Panels app

            [CAM-12465] Camunda Cockpit is not aware of cmmnEnabled = false

            Miklas Boskamp added a comment - - edited

            Hi langfr,

            thanks for opening this issue. I can confirm, that this is a bug.
            If you want to contribute a fix we will gladly accept a pull request. Let us know if you want to work on it and if we can help you in any way.
            Otherwise, I will forward the ticket for prioritization.

            Enjoy your weekend! Cheers,
            Miklas

            Miklas Boskamp added a comment - - edited Hi langfr , thanks for opening this issue. I can confirm, that this is a bug. If you want to contribute a fix we will gladly accept a pull request. Let us know if you want to work on it and if we can help you in any way. Otherwise, I will forward the ticket for prioritization. Enjoy your weekend! Cheers, Miklas

            Thorben Lindhauer added a comment - - edited

            Hi Frank,

            Thanks for raising the ticket. We will try to address it during 7.15 development, but cannot promise it at this point. If you would like to fix it yourself, that is also very welcome and we can help with the implementation approach.

            Best regards,
            Thorben

            Thorben Lindhauer added a comment - - edited Hi Frank, Thanks for raising the ticket. We will try to address it during 7.15 development, but cannot promise it at this point. If you would like to fix it yourself, that is also very welcome and we can help with the implementation approach. Best regards, Thorben

            This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2410. Please use this link for any future references and continue any discussion there.

            Thorben Lindhauer added a comment - This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2410 . Please use this link for any future references and continue any discussion there.

              thorben.lindhauer Thorben Lindhauer
              langfr Frank Langelage
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: