<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    It really seems strange.<br>
    Can you make listing of /data/conf/midpoint and
    /data/conf/midpoint/icf-connectors (ls -la )?<br>
    <br>
    Also please check if config.xml contains this:<br>
       <icf><br>
          <scanClasspath>true</scanClasspath><br>
         
<scanDirectory>${midpoint.home}/icf-connectors</scanDirectory><br>
        </icf><br>
    (it should be there by default just before <keystore> element)<br>
    <br>
    Ivan<br>
    <br>
    <div class="moz-cite-prefix">On 06/09/2016 05:08 PM, Dick Muller
      wrote:<br>
    </div>
    <blockquote
      cite="mid:0BDE28B3-D531-4415-8644-8AF49CDB95E8@tahzoo.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Title" content="">
      <meta name="Keywords" content="">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Courier;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">HI Ivan,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">I checked the
            file permissions. After that I started a clean logfile and a
            restart of the tomcat services.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">I do not see
            anything in the log. You can see my log file in the
            attachments.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">Regards,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">Dick<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0in 0in 0in">
          <p class="MsoNormal"><b><span
                style="font-family:Calibri;color:black">From: </span>
            </b><span style="font-family:Calibri;color:black">midPoint
              <a class="moz-txt-link-rfc2396E" href="mailto:midpoint-bounces@lists.evolveum.com"><midpoint-bounces@lists.evolveum.com></a> on behalf of
              Ivan Noris <a class="moz-txt-link-rfc2396E" href="mailto:ivan.noris@evolveum.com"><ivan.noris@evolveum.com></a><br>
              <b>Organization: </b>Evolveum, s.r.o.<br>
              <b>Reply-To: </b>midPoint General Discussion
              <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
              <b>Date: </b>Thursday, June 9, 2016 at 4:17 PM<br>
              <b>To: </b><a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com">"midpoint@lists.evolveum.com"</a>
              <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
              <b>Subject: </b>Re: [midPoint] O365 ConnectorTypeHost<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <div>
            <p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<br>
              <br>
              so /data/conf/midpoint/icf-connectors should be that
              directory.<br>
              Permissions should allow the Tomcat to read the that file
              (e.g. 644) and read/exec the directory (e.g. 755)<br>
              <br>
              Can you please check idm.log when starting? In my case:<br>
              <br>
              ...<br>
              2016-06-06 14:01:09,326 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.StartupConfiguration): | 
              Version :  3.4-SNAPSHOT<br>
              2016-06-06 14:01:09,326 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.StartupConfiguration): | 
              Sources : 
              <a moz-do-not-send="true"
                href="https://github.com/Evolveum/midpoint.git">https://github.com/Evolveum/midpoint.git</a> 
              branch:  ${scmBranch}<br>
              2016-06-06 14:01:09,327 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.StartupConfiguration): |  Bug
              reporting system :
              <a moz-do-not-send="true" href="http://jira.evolveum.com/">http://jira.evolveum.com/</a><br>
              2016-06-06 14:01:09,327 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.StartupConfiguration): | 
              Product information :
              <a moz-do-not-send="true"
                href="http://wiki.evolveum.com/display/midPoint">http://wiki.evolveum.com/display/midPoint</a><br>
              2016-06-06 14:01:09,327 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.StartupConfiguration):
+------------------------------------------------------------------------------------------<br>
              ---+<br>
              2016-06-06 14:01:09,331 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.ApplicationHomeSetup):
              midpoint.home = /opt/midpoint.home-pokusy/<br>
              2016-06-06 14:01:09,331 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.ApplicationHomeSetup):
              Directory /opt/midpoint.home-pokusy/ already exists.
              Reusing it.<br>
              2016-06-06 14:01:09,331 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.ApplicationHomeSetup):
              Directory /opt/midpoint.home-pokusy//icf-connectors
              already exists. Reusing it.<br>
              2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.ApplicationHomeSetup):
              Directory /opt/midpoint.home-pokusy//idm-legacy already
              exists. Reusing it.<br>
              2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.ApplicationHomeSetup):
              Directory /opt/midpoint.home-pokusy//log already exists.
              Reusing it.<br>
              2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.ApplicationHomeSetup):
              Directory /opt/midpoint.home-pokusy//schema already
              exists. Reusing it.<br>
              2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.ApplicationHomeSetup):
              Directory /opt/midpoint.home-pokusy//import already
              exists. Reusing it.<br>
              2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.ApplicationHomeSetup):
              Directory /opt/midpoint.home-pokusy//export already
              exists. Reusing it.<br>
              2016-06-06 14:01:09,332 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.ApplicationHomeSetup):
              Directory /opt/midpoint.home-pokusy//tmp already exists.
              Reusing it.<br>
              2016-06-06 14:01:09,333 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.init.StartupConfiguration): Loading
              midPoint configuration from file
              /opt/midpoint.home-pokusy/config.xml<br>
              ...<br>
              2016-06-06 14:01:36,986 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.provisioning.ucf.impl.ConnectorFactoryIcfImpl):
              Discovered ICF bundle on CLASSPATH:
              com.evolveum.polygon.connector-csvfile version: 1.4.0.49<br>
              2016-06-06 14:01:37,043 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.provisioning.ucf.impl.ConnectorFactoryIcfImpl):
              Discovered ICF bundle on CLASSPATH:
              com.evolveum.polygon.connector-databasetable version:
              1.4.0.49<br>
              2016-06-06 14:01:37,108 [] [localhost-startStop-1] INFO
              (com.evolveum.midpoint.provisioning.ucf.impl.ConnectorFactoryIcfImpl):
              Discovered ICF bundle on CLASSPATH:
              com.evolveum.polygon.connector-ldap version:
              1.4.3.0-SNAPSHOT<br>
              <b>2016-06-06 14:01:37,443 [] [localhost-startStop-1] INFO
                (com.evolveum.midpoint.provisioning.ucf.impl.ConnectorFactoryIcfImpl):
                Discovered ICF bundle in JAR:
                org.forgerock.openicf.connectors.scriptedsql-conne
                version: 1.1.2.0.em3</b><br>
              <br>
              <br>
              This is how my midPoint detected custom (not bundled)
              connector for ScriptedSQL.<br>
              <br>
              Ivan<o:p></o:p></p>
            <div>
              <p class="MsoNormal">On 06/09/2016 04:00 PM, Dick Muller
                wrote:<o:p></o:p></p>
            </div>
            <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">Hi Ivan,</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">I will
                  delete it then.</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">The JVM
                  parameter is –Dmidpoint.home=/data/conf/midpoint</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">There is
                  my config.xml and I also have stored working schema
                  and organization schemaextension files there.</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">So this
                  must be correct.</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">I saved
                  the connector-office365.jar file in the icf-connectors
                  directory.</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">I
                  suddenly thought about permissions on the filesystem.
                  This is corrected to the tomcat user and restart
                  again.</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">But still
                  there is no connector loaded in the repository.</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">Thanks,</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri">Dick</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
              <div style="border:none;border-top:solid #B5C4DF
                1.0pt;padding:3.0pt 0in 0in 0in">
                <p class="MsoNormal"><b><span
                      style="font-family:Calibri;color:black">From: </span>
                  </b><span style="font-family:Calibri;color:black">midPoint
                    <a moz-do-not-send="true"
                      href="mailto:midpoint-bounces@lists.evolveum.com">
                      <midpoint-bounces@lists.evolveum.com></a> on
                    behalf of Ivan Noris <a moz-do-not-send="true"
                      href="mailto:ivan.noris@evolveum.com">
                      <ivan.noris@evolveum.com></a><br>
                    <b>Organization: </b>Evolveum, s.r.o.<br>
                    <b>Reply-To: </b>midPoint General Discussion <a
                      moz-do-not-send="true"
                      href="mailto:midpoint@lists.evolveum.com">
                      <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a></a><br>
                    <b>Date: </b>Thursday, June 9, 2016 at 3:43 PM<br>
                    <b>To: </b><a moz-do-not-send="true"
                      href="mailto:midpoint@lists.evolveum.com">"midpoint@lists.evolveum.com"</a>
                    <a moz-do-not-send="true"
                      href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
                    <b>Subject: </b>Re: [midPoint] O365
                    ConnectorTypeHost</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"> <o:p></o:p></p>
              </div>
              <div>
                <div>
                  <p class="MsoNormal" style="margin-bottom:12.0pt">You
                    should not manually create Connector (ConnectorType)
                    objects, these are created by discovering the
                    connectors; they also contain the connector schema.<br>
                    <br>
                    So, please:<br>
                    1) check your current "midpoint.home" setting. It
                    should be JVM parameter
                    -Dmidpoint.home=/var/opt/midpoint or whatever you
                    have. This is the directory, where config.xml
                    exists, and where icf-connectors directory is also
                    stored (with the custom connectors)<br>
                    2) if you are not explicitely setting
                    "midpoint.home" parameter, the default is probably
                    Tomcat directory. If you find config.xml file,
                    that's the directory.<br>
                    <br>
                    Is your Office365 connector in the icf-connectors
                    directory of that directory?<br>
                    <br>
                    Unfortunately I have no experience with Office365
                    connector myself.<br>
                    <br>
                    Best regards,<br>
                    Ivan<o:p></o:p></p>
                  <div>
                    <p class="MsoNormal">On 06/09/2016 03:38 PM, Dick
                      Muller wrote:<o:p></o:p></p>
                  </div>
                  <blockquote
                    style="margin-top:5.0pt;margin-bottom:5.0pt">
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:Calibri">Yes,
                        but it was not.</span><o:p></o:p></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:Calibri">It
                        is now, because I created a connector manually,
                        but the Schema part is unknown to me.</span><o:p></o:p></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
                    <div style="border:none;border-top:solid #B5C4DF
                      1.0pt;padding:3.0pt 0in 0in 0in">
                      <p class="MsoNormal"><b><span
                            style="font-family:Calibri;color:black">From:
                          </span>
                        </b><span
                          style="font-family:Calibri;color:black">midPoint
                          <a moz-do-not-send="true"
                            href="mailto:midpoint-bounces@lists.evolveum.com">
                            <midpoint-bounces@lists.evolveum.com></a>
                          on behalf of Ivan Noris <a
                            moz-do-not-send="true"
                            href="mailto:ivan.noris@evolveum.com">
                            <a class="moz-txt-link-rfc2396E" href="mailto:ivan.noris@evolveum.com"><ivan.noris@evolveum.com></a></a><br>
                          <b>Organization: </b>Evolveum, s.r.o.<br>
                          <b>Reply-To: </b>midPoint General Discussion
                          <a moz-do-not-send="true"
                            href="mailto:midpoint@lists.evolveum.com">
                            <midpoint@lists.evolveum.com></a><br>
                          <b>Date: </b>Thursday, June 9, 2016 at 3:37
                          PM<br>
                          <b>To: </b><a moz-do-not-send="true"
                            href="mailto:midpoint@lists.evolveum.com">"midpoint@lists.evolveum.com"</a>
                          <a moz-do-not-send="true"
                            href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
                          <b>Subject: </b>Re: [midPoint] O365
                          ConnectorTypeHost</span><o:p></o:p></p>
                    </div>
                    <div>
                      <p class="MsoNormal"> <o:p></o:p></p>
                    </div>
                    <div>
                      <div>
                        <p class="MsoNormal"
                          style="margin-bottom:12.0pt">(The Connector
                          XML object should be in Configuration -
                          Repository Objects - Connector. Typed too
                          fast.)<o:p></o:p></p>
                        <div>
                          <p class="MsoNormal">On 06/09/2016 03:34 PM,
                            Ivan Noris wrote:<o:p></o:p></p>
                        </div>
                        <blockquote
                          style="margin-top:5.0pt;margin-bottom:5.0pt">
                          <p class="MsoNormal"><br>
                            <br>
                            If all the above apply, you should see the
                            Connector object in Repository/Connector.
                            It's also the confirmation that your
                            connector has been discovered when midPoint
                            started. This information is also in idm.log
                            - all discovered connector names are printed
                            to idm.log. <o:p></o:p></p>
                        </blockquote>
                        <p class="MsoNormal"><br>
                          <br>
                          <br>
                          <br>
                          <o:p></o:p></p>
                        <pre>-- <o:p></o:p></pre>
                        <pre>  Ing. Ivan Noris<o:p></o:p></pre>
                        <pre>  Senior Identity Management Engineer & IDM Architect<o:p></o:p></pre>
                        <pre>  evolveum.com                     evolveum.com/blog/<o:p></o:p></pre>
                        <pre>  ___________________________________________________<o:p></o:p></pre>
                        <pre>  "Semper ID(e)M Vix."<o:p></o:p></pre>
                      </div>
                    </div>
                    <p class="MsoNormal"><br>
                      <br>
                      <br>
                      <br>
                      <o:p></o:p></p>
                    <pre>_______________________________________________<o:p></o:p></pre>
                    <pre>midPoint mailing list<o:p></o:p></pre>
                    <pre><a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
                    <pre><a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
                  </blockquote>
                  <p class="MsoNormal"><br>
                    <br>
                    <br>
                    <o:p></o:p></p>
                  <pre>-- <o:p></o:p></pre>
                  <pre>  Ing. Ivan Noris<o:p></o:p></pre>
                  <pre>  Senior Identity Management Engineer & IDM Architect<o:p></o:p></pre>
                  <pre>  evolveum.com                     evolveum.com/blog/<o:p></o:p></pre>
                  <pre>  ___________________________________________________<o:p></o:p></pre>
                  <pre>  "Semper ID(e)M Vix."<o:p></o:p></pre>
                </div>
              </div>
              <p class="MsoNormal"><br>
                <br>
                <br>
                <o:p></o:p></p>
              <pre>_______________________________________________<o:p></o:p></pre>
              <pre>midPoint mailing list<o:p></o:p></pre>
              <pre><a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
              <pre><a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
            </blockquote>
            <p class="MsoNormal"><br>
              <br>
              <o:p></o:p></p>
            <pre>-- <o:p></o:p></pre>
            <pre>  Ing. Ivan Noris<o:p></o:p></pre>
            <pre>  Senior Identity Management Engineer & IDM Architect<o:p></o:p></pre>
            <pre>  evolveum.com                     evolveum.com/blog/<o:p></o:p></pre>
            <pre>  ___________________________________________________<o:p></o:p></pre>
            <pre>  "Semper ID(e)M Vix."<o:p></o:p></pre>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
  Ing. Ivan Noris
  Senior Identity Management Engineer & IDM Architect
  evolveum.com                     evolveum.com/blog/
  ___________________________________________________
  "Semper ID(e)M Vix."
</pre>
  </body>
</html>