[midPoint] Recompute All Members for Role

Pavol Mederly mederly at evolveum.com
Thu Jun 2 23:03:40 CEST 2016


Hello Florin,

recently we changed the db schema a bit (because of MID-3061 
<https://jira.evolveum.com/browse/MID-3061>).

So, please apply the corresponding migration script 
(config\sql\midpoint\3.4\<DBNAME>\<DBNAME>-upgrade-3.4-SNAPSHOT-*NNN*.sql). 
Which one - it depends on how old your existing master is. This 
particular problem is related to the latest one (numbered 6).

An alternative is to set hbm2ddl parameter like this (in config.xml file 
in midpoint.home directory):

<configuration>
     <midpoint>
           <repository>
             <hibernateHbm2ddl>*update*</hibernateHbm2ddl>
...

(but this is recommended only for testing purposes, because some - but 
only very rare - changes are not correctly applied by hibernate itself)

Best regards,

Pavol


On 02.06.2016 22:56, Florin. Stingaciu wrote:
> Hello again,
>
> I'm having some troubles when rebuilding the master. Here's the 
> corresponding stack trace: http://pastebin.com/TVUAKURb
>
> Also, I'm using SSO under apache with the following 
> ctx-web-security.xml file: http://pastebin.com/rvs9cJDj
>
> Any ideas would be greatly appreciated.
>
> Thanks,
> -F
>
> On Thu, Jun 2, 2016 at 11:36 AM, Florin. Stingaciu 
> <fstingaciu at mirantis.com <mailto:fstingaciu at mirantis.com>> wrote:
>
>     Thanks Pavel! I'll upgrade to the latest and let you know how that
>     works out.
>
>
>     On Wed, Jun 1, 2016 at 10:24 PM, Pavol Mederly
>     <mederly at evolveum.com <mailto:mederly at evolveum.com>> wrote:
>
>         Hello Florin,
>
>         If I remember correctly, we've been fixing this problem in
>         master (3.4-SNAPSHOT). It should be solved in that branch.
>
>         (If not, please drop a jira issue with details how to
>         reproduce, and we'll certainly fix that.)
>
>         Best regards,
>
>         Pavol
>
>
>         On 02.06.2016 1:28, Florin. Stingaciu wrote:
>>         Hello,
>>
>>         I'm trying to recompute all members that are assigned a
>>         particuar role. I tried using the "Recompute All"
>>         (http://i.imgur.com/xLXjLwd.png) button in the "Members"
>>         section of a role. This launches a task that is successful
>>         however, it it does not process any objects.
>>
>>         If I manually select the members I want and select "Recompute
>>         members" everything works just fine. Any ideas?
>>
>>         Thanks,
>>         -F
>>
>>
>>         _______________________________________________
>>         midPoint mailing list
>>         midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>>         http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>         _______________________________________________
>         midPoint mailing list
>         midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>         http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
>
>
> _______________________________________________
> 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/20160602/143e546b/attachment.htm>


More information about the midPoint mailing list