Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-8851

Misleading log error after EJBCA upgrade

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: EJBCA 6.0.4, EJBCA 6.15.2.5, EJBCA 7.3.1.1
    • Fix Version/s: None
    • Component/s: Install-script
    • Labels:
      None
    • Environment:
      Environment 1
      MariaDB 10
      OpenJDK 8
      Wildfly 10

      Environment 2
      Mysql 5.7
      OpenJDK 7
      JBOSS AS 7.1.1

      Upgrading to
      MariaDB 10
      OpenJDK 8
      Widlfly 14
    • Sprint:
      EJBCA Team Bob -2020 w10

      Description

      Summary:
      *On ant deployear, the following error occurred in the lab prohibiting access to the EJBCA admin '\"Row protection is wrong, the data 'non null' can not be verified '

      It was resolved by editing the databaseprotection.properties.databaseprotection.enableverify = true to false and redeploying ear and restarting the wildfly server*

      '1. creating the above-mentioned artifacts
      2. mysqldump db
      3. delete created artifacts
      4. upgrade to latest 6.15.2.6
      5. ant clean and ant deployear

      1st Attempt CE Edition - 6.15.2.5 to latest 6.15.2.6 FAILED (See log info below)
      2nd Attempt CE Edition - 6.15.2.5 to latest 6.15.2.6 PASSED, Next Step Regression

      Latest version failed to deploy. Error,

      [root@InSaneInTheMemBrain ejbca]# tail /opt/wildfly/standalone/deployments/ejbca.ear.failed
      "{
      \"WFLYCTL0080: Failed services\" =>

      {\"jboss.deployment.subunit.\\\"ejbca.ear\\\".\\\"ejbca-ejb.jar\\\".component.StartupSingletonBean.START\" => \"org.jboss.msc.service.StartException in service jboss.deployment.subunit.\\\"ejbca.ear\\\".\\\"ejbca-ejb.jar\\\".component.StartupSingletonBean.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: javax.ejb.EJBTransactionRolledbackException: \\\"Row protection is wrong, the data 'non null' can not be verified by 'null'. Class org.cesecore.roles.RoleData, rowId 1.\\\" Caused by: org.cesecore.dbprotection.DatabaseProtectionException: \\\"Row protection is wrong, the data 'non null' can not be verified by 'null'. Class org.cesecore.roles.RoleData, rowId 1.\\\"\"}

      ,
      \"WFLYCTL0412: Required services that are not installed:\" => [\"jboss.deployment.subunit.\\\"ejbca.ear\\\".\\\"ejbca-ejb.jar\\\".component.StartupSingletonBean.START\"],
      \"WFLYCTL0180: Services with missing/unavailable dependencies\" => undefined
      }"[root@InSaneInTheMemBrain ejbca]# cd src/
      [root@InSaneInTheMemBrain src]# tail internal.properties
      app.version.number=6.15.2.6-Snapshot
      svn.revision=working copy
      app.edition.verbose=Unreleased
      app.version=EJBCA ${app.version.number} ${app.edition.verbose} (${svn.revision})

      1. Prefix for the JNDI name of the DataSource used for direct JDBC. The prefix is different for
      2. different application servers and will be configured depending on "appserver.type".
      3. JBoss AS: 'java:/'
      4. Glassfish: 'jdbc/'
        #datasource.jndi-name-prefix=

      A similar error was found in ticket PROSIEMENS-42
      **NOTE: Modifying this flag from true to false allowed ejbca to be deployed. databaseprotection.enableverify = false

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              margarett Margaret Thomas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: