Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-2107

One failed resource prevents provisioning from provisioning other changes

    XMLWordPrintable

    Details

      Description

      User has several roles and resources. One of the resource is down.
      Editing user, I can see that one of the accounts is not loaded. OK, I try to change another account on completely different resource (by assigning new role).

      But on save, progress indicator fails and nothing is saved:

      2014-12-04 16:37:06,899 [] [Thread-875] ERROR (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error executing changes, reason: Generic error in the connector
      : org.identityconnectors.framework.common.exceptions.ConnectorException(Couldn't list objects)->javax.xml.ws.WebServiceException(Could not send Message.)->org.apache.cxf.tran
      sport.http.HTTPException(HTTP response '403: Forbidden' when communicating with http://placeholder:8080/iamProvisioning)({.../common/common-3}tenantRe
      f=PRV(oid=4f18e375-cf0d-46e2-b273-e958e07d8477, targetType={.../common/common-3}OrgType); ) in expression in mapping in for association {.../resource/instance-3}wsEntitlement
      s in role:00000000-dc00-dc00-0004-000000000155(XXX Role 1)
      

      The exception seems to be because user has associations on the downed resource.

      2014-12-04 14:19:47,736 [MODEL] [Thread-852] ERROR (com.evolveum.midpoint.model.impl.lens.projector.Projector): Runtime error in projector: Ge
      neric error in the connector: org.identityconnectors.framework.common.exceptions.ConnectorException(Couldn't list objects)->javax.xml.ws.WebSe
      rviceException(Could not send Message.)->org.apache.cxf.transport.http.HTTPException(HTTP response '403: Forbidden' when communicating with ht
      tp://placeholder:8080/iamProvisioning)({.../common/common-3}tenantRef=PRV(oid=4f18e375-cf0d-46e2-b273-e958e07d8477, ta
      rgetType={.../common/common-3}OrgType); ) in expression in mapping in for association {.../resource/instance-3}wsEntitlements in role:00000000
      -dc00-dc00-0004-000000000155(XXX Role 1)
      java.lang.RuntimeException: Generic error in the connector: org.identityconnectors.framework.common.exceptions.ConnectorException(Couldn't lis
      t objects)->javax.xml.ws.WebServiceException(Could not send Message.)->org.apache.cxf.transport.http.HTTPException(HTTP response '403: Forbidd
      en' when communicating with http://placeholder:8080/iamProvisioning)({.../common/common-3}tenantRef=PRV(oid=4f18e375-c
      f0d-46e2-b273-e958e07d8477, targetType={.../common/common-3}OrgType); ) in expression in mapping in for association {.../resource/instance-3}w
      sEntitlements in role:00000000-dc00-dc00-0004-000000000155(XXX Role 1)
              at com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator$1.process(AbstractValueTrans
      formationExpressionEvaluator.java:433) ~[model-common-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator$1.process(AbstractValueTrans
      formationExpressionEvaluator.java:1) ~[model-common-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.MiscUtil.carthesian(MiscUtil.java:285) ~[util-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.MiscUtil.carthesian(MiscUtil.java:275) ~[util-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator.evaluateRelativeExpression(A
      bstractValueTransformationExpressionEvaluator.java:440) ~[model-common-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator.evaluate(AbstractValueTransf
      ormationExpressionEvaluator.java:112) ~[model-common-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.common.expression.Expression.evaluate(Expression.java:136) ~[model-common-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.common.mapping.Mapping.evaluateExpression(Mapping.java:962) ~[model-common-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.common.mapping.Mapping.evaluate(Mapping.java:510) ~[model-common-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.LensUtil.evaluateMapping(LensUtil.java:564) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.Construction.evaluateMapping(Construction.java:470) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.Construction.evaluateAssociation(Construction.java:427) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.Construction.evaluateAssociations(Construction.java:397) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.Construction.evaluate(Construction.java:283) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.EvaluatedAssignment.evaluateConstructions(EvaluatedAssignment.java:158) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.projector.AssignmentProcessor.evaluateConstructions(AssignmentProcessor.java:733) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.projector.AssignmentProcessor.evaluateConstructions(AssignmentProcessor.java:714) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.projector.AssignmentProcessor.processAssignmentsProjectionsWithFocus(AssignmentProcessor.java:462) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.projector.AssignmentProcessor.processAssignmentsProjections(AssignmentProcessor.java:164) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:268) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:182) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:166) ~[model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:199) [model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:156) [model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges_aroundBody4(ModelController.java:526) [model-impl-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.controller.ModelController$AjcClosure5.run(ModelController.java:1) [model-impl-3.1-SNAPSHOT.jar:na]
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.7.3.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:190) [util-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$wrapSubsystem(MidpointAspect.java:1) [util-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.processModelNdc(MidpointAspect.java:75) [util-3.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:428) [model-impl-3.1-SNAPSHOT.jar:na]
              at sun.reflect.GeneratedMethodAccessor1012.invoke(Unknown Source) ~[na:na]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_40]
              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_40]
              at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:435) [wicket-ioc-6.17.0.jar:6.17.0]
              at com.sun.proxy.$Proxy143.executeChanges(Unknown Source) [na:na]
              at com.evolveum.midpoint.web.component.progress.ProgressReporter$1.run(ProgressReporter.java:183) [ProgressReporter$1.class:na]
              at java.lang.Thread.run(Thread.java:724) [na:1.7.0_40]
      Caused by: com.evolveum.midpoint.util.exception.SystemException: Generic error in the connector: org.identityconnectors.framework.common.exceptions.ConnectorException(Couldn't list objects)->javax.xml.ws.WebServiceException(Could not send Message.)->org.apache.cxf.transport.http.HTTPException(HTTP response '403: Forbidden' when communicating with http://placeholder:8080/iamProvisioning)
      

        Attachments

          Activity

            People

            Assignee:
            vix Ivan Noris
            Reporter:
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: