<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello Kurt,</p>
    <p><br>
    </p>
    <p>thank you for pointing to that. <br>
    </p>
    <p><br>
    </p>
    <p>You are right: activitSchemaUpdate was originally true by
      default, but this changed in midPoint 3.4. Now the default is
      derived from repository auto-update setting (i.e. hibernateHbm2ddl
      property).</p>
    <p><br>
    </p>
    <p>I've updated the document at <a
        href="https://wiki.evolveum.com/display/midPoint/Workflow+configuration">https://wiki.evolveum.com/display/midPoint/Workflow+configuration</a>
      (there were also a couple of other differences).</p>
    <p><br>
    </p>
    <p>Best regards,</p>
    --
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com</pre>
    <div class="moz-cite-prefix">On 03.08.2016 9:47, kurt leen wrote:<br>
    </div>
    <blockquote
cite="mid:VI1PR02MB13443739EEB28C1E7DF6857FC5060@VI1PR02MB1344.eurprd02.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Hi,</p>
        <p><br>
        </p>
        <p>just to inform you, when upgrading from 3.3.1 to 3.4, I
          received the following error <span style="font-size: 12pt;">in
            idm.log:<br>
            <span>m.evolveum.midpoint.wf.impl.activiti.dao.WorkItemProvider.activitiEngine;
              nested exception is
              org.springframework.beans.factory.BeanCreationException:
              Error creating bean with name 'activitiEngine': Invocation
              of init method failed; nested exception is
              org.activiti.engine.ActivitiWrongDbException: version
              mismatch: activiti library version is '5.20.0.1', db
              version is 5.17.0.2 Hint: Set <property
              name="databaseSchemaUpdate" to value="true" or
              value="create-drop" (use create-drop for testing only!) in
              bean processEngineConfiguration in activiti.cfg.xml for
              automatic schema creation<br>
            </span><br>
            I adapted  the config.xml to contain:<br>
          </span></p>
        <div><workflow></div>
        <div> 
          <activitiSchemaUpdate>true</activitiSchemaUpdate></div>
        <div></workflow></div>
        <br>
        But according to <a moz-do-not-send="true"
          href="https://wiki.evolveum.com/display/midPoint/Workflow+configuration"
          class="OWAAutoLink" id="LPlnk967107">https://wiki.evolveum.com/display/midPoint/Workflow+configuration</a><br>
        <span style="color: rgb(51, 51, 51); font-family: Arial,
          sans-serif; font-size: 14px; line-height: 20px;">activitiSchemaUpdate
          should be true by default.</span><br>
        <p><span style="font-size: 12pt;"><span style="color: rgb(51,
              51, 51); font-family: Arial, sans-serif; font-size: 14px;
              line-height: 20px;"><br>
            </span></span></p>
        <p><font face="Arial, sans-serif" color="#333333"><span
              style="font-size: 14px; line-height: 20px;">with kind
              regards</span></font></p>
        <p><font face="Arial, sans-serif" color="#333333"><span
              style="font-size: 14px; line-height: 20px;"><br>
            </span></font></p>
        <p><font face="Arial, sans-serif" color="#333333"><span
              style="font-size: 14px; line-height: 20px;">Kurt</span></font></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>