[midPoint] upgrade from 3.3.1 to 3.4 -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

Pavol Mederly mederly at evolveum.com
Wed Aug 3 10:27:16 CEST 2016


Hello Kurt,


thank you for pointing to that.


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).


I've updated the document at 
https://wiki.evolveum.com/display/midPoint/Workflow+configuration (there 
were also a couple of other differences).


Best regards,

-- 

Pavol Mederly
Software developer
evolveum.com

On 03.08.2016 9:47, kurt leen wrote:
>
> Hi,
>
>
> just to inform you, when upgrading from 3.3.1 to 3.4, I received the 
> following error in idm.log:
> 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
>
> I adapted  the config.xml to contain:
>
> <workflow>
> <activitiSchemaUpdate>true</activitiSchemaUpdate>
> </workflow>
>
> But according to 
> https://wiki.evolveum.com/display/midPoint/Workflow+configuration
> activitiSchemaUpdate should be true by default.
>
>
> with kind regards
>
>
> Kurt
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160803/39e7c7bb/attachment.htm>


More information about the midPoint mailing list