<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>After more thorough investigation I noticed that the Task is executing correctly. The task is suspended only in situations like: shutting down the Connector Server machine or a similar persistent situation. If the connector server service running on the machine is shut down, an error message is shown and the task indicates a red circle with a dash in it, but it is still running as Pavol explained. When the service is brought back up, the synchronization continues normally. I have not tested what would happen if the AD machine was shut down, but the AD machine shutting down would be a catastrophe anyways.<br><br>I did not file a bug, I will keep monitoring the situation to see if there really is a bug. <br><br><div><hr id="stopSpelling">To: midpoint@lists.evolveum.com<br>From: mederly@evolveum.com<br>Date: Mon, 14 Dec 2015 10:26:13 +0100<br>Subject: Re: [midPoint] Persistent Tasks<br><br>
  
    
  
  
    <div class="ecxmoz-cite-prefix">Samu,<br>
      <br>
      this is a clear bug. It shouldn't show "Suspended" in this
      situation. Please, could you log it into jira? (with "how to
      replicate" indiciation?)<br>
      <br>
      Thank you<br>
      PAvol<br>
      <br>
    </div>
    <blockquote cite="mid:DUB117-W123E202A7D5299BBE29AA0DD1ED0@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
      <div dir="ltr">Hello Pavol,<br>
        <br>
        Thank you for your quick response. Now that I investigated my
        logs a bit more, I noticed that the sync task is indeed still
        trying to connect to the AD, it just shows "Suspended" in the
        administration interface. I think I can continue with my
        implementation. Thank you for clarifying this for me.<br>
        <br>
        Maybe the UI should show something else than "Suspended" when a
        transient problem happens.<br>
        <br>
        BR,<br>
        <br>
        Samu<br>
        <br>
        <div>
          <hr id="ecxstopSpelling">To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
          From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:mederly@evolveum.com">mederly@evolveum.com</a><br>
          Date: Mon, 14 Dec 2015 09:55:01 +0100<br>
          Subject: Re: [midPoint] Persistent Tasks<br>
          <br>
          <div class="ecxmoz-cite-prefix">Hello Samu,<br>
            <br>
            a task should go into a "suspended" state only if the
            problem that occurred is believed to be a persistent one.
            Transient problems like "AD down" should not result in the
            task being suspended - i.e. the synchronization task should
            report an error, but it should continue trying.<br>
            <br>
            There might be a bug in midPoint that incorrectly treats
            such an error. Or, maybe, the connector reports the problem
            in a wrong way. (This midPoint-connector-resource interplay
            is sometimes quite tricky.) <br>
            <br>
            Would you please share your log file for us to diagnose the
            problem further?<br>
            <br>
            Best regards,<br>
            Pavol<br>
            <br>
            <br>
            On 14. 12. 2015 9:32, Samu Viitanen wrote:<br>
          </div>
          <blockquote cite="mid:DUB117-W1236624A77A920D58E80055D1ED0@phx.gbl">
            <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>
            <div dir="ltr">Hello,<br>
              <br>
              I came across an issue where I would like a
              synchronization task to be "persistent" meaning it would
              attempt to resume the task every once in awhile in case it
              was suspended. I do not want to use the administration
              interface to restart suspended tasks. I understand that it
              might be stupid to keep resuming a broken task, but if an
              AD is down for example, the task would never resume even
              if it came back up? Is this possible currently in
              midPoint?<br>
              <br>
              BR.<br>
              <br>
              Samu Viitanen<br>
            </div>
            <br>
            <fieldset class="ecxmimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
midPoint mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
          </blockquote>
          <br>
          <br>
          _______________________________________________
          midPoint mailing list
          <a class="ecxmoz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
          <a class="ecxmoz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a></div>
      </div>
      <br>
      <fieldset class="ecxmimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
midPoint mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  

<br>_______________________________________________
midPoint mailing list
midPoint@lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint</div>                                           </div></body>
</html>