[midPoint] Ninja tool error - Update 3.7.2 - 3.8

Nico paetni1 at gmail.com
Tue Nov 13 15:14:50 CET 2018


Hello everyone,

i am trying to update an existing midpoint instance 3.7.2 with mariaDB to
3.8.

My installation path is: /opt/idm/midpoint-3.7.2/
And my MIDPOINT_HOME is: /opt/idm/midpoint-3.7.2/var
Java 1.8.0.191 is installed

config.xml looks like:
        <repository>

<repositoryServiceFactoryClass>com.evolveum.midpoint.repo.sql.SqlRepositoryFactory</repositoryServiceFactoryClass>
            <database>mariadb</database>
            <jdbcUsername>midpoint</jdbcUsername>
            <jdbcPassword>PASSWORD</jdbcPassword>

<jdbcUrl>jdbc:mariadb://HOST:3306/midpoint?characterEncoding=utf8</jdbcUrl>
        </repository>

Command: /opt/idm/midpoint/bin/ninja.sh -v count
(Like said in the upgrade documentation step 1.c)

The Error says:
2018-11-13 14:58:09,518 [main] INFO  (SYSOUT): Initializing repository
using midpoint home
Unexpected exception occurred (class
org.springframework.beans.factory.UnsatisfiedDependencyException), reason:
Error creating bean with name 'repositoryService': Unsatisfied dependency
expressed through field 'sequenceHelper'; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'sequenceHelper': Unsatisfied dependency expressed
through field 'objectUpdater'; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'objectUpdater': Unsatisfied dependency expressed
through field 'closureManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'orgClosureManager': Invocation of init method failed;
nested exception is org.hibernate.TransactionException: Transaction not
successfully started
Exception stack trace:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'repositoryService': Unsatisfied dependency
expressed through field 'sequenceHelper'; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'sequenceHelper': Unsatisfied dependency expressed
through field 'objectUpdater'; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'objectUpdater': Unsatisfied dependency expressed
through field 'closureManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'orgClosureManager': Invocation of init method failed;
nested exception is org.hibernate.TransactionException: Transaction not
successfully started
...
...
...
Caused by: org.hibernate.TransactionException: Transaction not successfully
started
        at
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.rollback(AbstractTransactionImpl.java:202)
...

I enabled the sql query log. But there is not one SQL which is getting
executed.
Has someone managed to upgrade from 3.7.2 with mariaDB? Or had someone the
same problem?

Kind Regards
Nico Pätzelt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20181113/a8e70407/attachment.htm>


More information about the midPoint mailing list