<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Radim,</p>
    <p>can you please specify which file you have noticed is different?</p>
    <p>Regarding installation: can you provide more details why you used
      midpoint.home pointing to unzipped midpoint distribution? I need
      to check if the installation doc is correct. Thanks.</p>
    <p>Ivan<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 04/11/2017 01:27 PM, Radim Jaeger
      wrote:<br>
    </div>
    <blockquote
cite="mid:OF0DA6A93E.A1C8A2E1-ONC12580FF.003E81FA-C12580FF.003EE9C6@sysnet.cz"
      type="cite"><font face="sans-serif" size="2">Hi Ivan!</font>
      <br>
      <br>
      <br>
      <font face="sans-serif" size="2">Great! It works!!!</font>
      <br>
      <br>
      <font face="sans-serif" size="2">Thank you very much. </font>
      <br>
      <br>
      <font face="sans-serif" size="2">It seems the distribution
        midpoint package
        contains at least one file differing to file contained in war. </font>
      <br>
      <br>
      <br>
      <font face="sans-serif" size="2">Radim  </font>
      <br>
      <br>
      <br>
      <br>
      <font face="sans-serif" size="1" color="#5f5f5f">Od:      
         </font><font face="sans-serif" size="1">Ivan Noris
        <a class="moz-txt-link-rfc2396E" href="mailto:ivan.noris@evolveum.com"><ivan.noris@evolveum.com></a></font>
      <br>
      <font face="sans-serif" size="1" color="#5f5f5f">Komu:      
         </font><font face="sans-serif" size="1"><a class="moz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a></font>
      <br>
      <font face="sans-serif" size="1" color="#5f5f5f">Datum:      
         </font><font face="sans-serif" size="1">11.04.2017 12:49</font>
      <br>
      <font face="sans-serif" size="1" color="#5f5f5f">Předmět:    
           </font><font face="sans-serif" size="1">Re: [midPoint]
        Installation of midpoint 3.5 on CentOS 7 failed</font>
      <br>
      <font face="sans-serif" size="1" color="#5f5f5f">Odeslal:    
           </font><font face="sans-serif" size="1">"midPoint"
        <a class="moz-txt-link-rfc2396E" href="mailto:midpoint-bounces@lists.evolveum.com"><midpoint-bounces@lists.evolveum.com></a></font>
      <br>
      <hr noshade="noshade">
      <br>
      <br>
      <br>
      <font size="3">Hi Radim,</font>
      <p><font size="3">that's strange.</font>
      </p>
      <p><font size="3">Let's see what I would do - and you can compare
          this to
          your situation:</font>
      </p>
      <p><font size="3">1. download midpoint.war file or dist archive
          and extract
          midpoint.war from there</font>
      </p>
      <p><font size="3">2. copy midpoint.war to tomcat/webapps. Do not
          start Tomcat
          yet.</font>
      </p>
      <p><font size="3">3. create empty /var/opt/midpoint directory
          writable by
          tomcat user</font>
      </p>
      <p><font size="3">4. configure tomcat to run with
          -Dmidpoint.home=/var/opt/midpoint</font>
      </p>
      <p><font size="3">5. start tomcat</font>
      </p>
      <p><font size="3">This must work. Please note that I have just
          used midpoint.war
          file and nothing else from the binary distribution. Midpoint
          will create
          config.xml, default embedded H2 database in /var/opt/midpoint
          and several
          other empty directories.</font>
      </p>
      <p><font size="3">Regards,</font>
      </p>
      <p><font size="3">Ivan</font>
      </p>
      <p>
        <br>
        <font size="3">On 04/10/2017 06:00 PM, Radim Jaeger wrote:</font>
        <br>
        <font face="sans-serif" size="2">Hi Ivan!</font><font size="3">
          <br>
        </font><font face="sans-serif" size="2"><br>
          Well. I completely reinstalled midpoint 3.5 into a clear
          place. <br>
          I found in the <b>/var/opt/midpoint/schema</b>   the
          subdirectory
          <b>xml</b> with some content.</font><font size="3"> <br>
        </font><font face="sans-serif" size="2"><br>
          Subsequently, I changed the owner of subtree <b>/var/opt/midpoint</b>
          to
          <b>tomcat:tomcat</b>., deleted the subdirectory /midpoint and
          the file
          "old" file midpoint.war from the tomcat webapps directory,
          copied
          the "fresh" file midpoint.war to tomcat webapps directory and
          started the tomcat service. </font><font size="3"><br>
        </font><font face="sans-serif" size="2"><br>
          The same error occurs :-(</font><font size="3"> <br>
          <br>
        </font><font face="sans-serif" size="2"><br>
          Radim</font><font size="3"> <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
        </font><font face="sans-serif" size="1" color="#5f5f5f"><br>
          Od:        </font><font face="sans-serif" size="1">Ivan
          Noris </font><a moz-do-not-send="true"
          href="mailto:ivan.noris@evolveum.com"><font face="sans-serif"
            size="1" color="blue"><u><ivan.noris@evolveum.com></u></font></a><font
          size="3">
        </font><font face="sans-serif" size="1" color="#5f5f5f"><br>
          Komu:        </font><a moz-do-not-send="true"
          href="mailto:midpoint@lists.evolveum.com"><font
            face="sans-serif" size="1" color="blue"><u>midpoint@lists.evolveum.com</u></font></a><font
          size="3">
        </font><font face="sans-serif" size="1" color="#5f5f5f"><br>
          Datum:        </font><font face="sans-serif" size="1">10.04.2017
          17:36</font><font size="3"> </font><font face="sans-serif"
          size="1" color="#5f5f5f"><br>
          Předmět:        </font><font face="sans-serif" size="1">Re:
          [midPoint] Installation of midpoint 3.5 on CentOS 7 failed</font><font
          size="3">
        </font><font face="sans-serif" size="1" color="#5f5f5f"><br>
          Odeslal:        </font><font face="sans-serif" size="1">"midPoint"
        </font><a moz-do-not-send="true"
          href="mailto:midpoint-bounces@lists.evolveum.com"><font
            face="sans-serif" size="1" color="blue"><u><midpoint-bounces@lists.evolveum.com></u></font></a><font
          size="3">
          <br>
        </font>
      </p>
      <hr noshade="noshade"><font size="3"><br>
        <br>
        <br>
        Hi Radim, </font>
      <p><font size="3">my guess is that your /var/opt/midpoint/schema
          directory
          contains the midpoint schemas (did you extract the zip/tar.gz
          into /var/opt/midpoint?)
        </font>
      </p>
      <p><font size="3">The "schema" subdirectory is only for schema
          additions (custom attributes etc.), not for the standard ones.
          Can you
          check that please? </font>
      </p>
      <p><font size="3">/var/opt/midpoint should be completely empty at
          the start
          with just-downloaded midpoint, possibly with config.xml if you
          have real
          database. </font>
      </p>
      <p><font size="3">Please let me know, </font>
      </p>
      <p><font size="3">Ivan </font>
      </p>
      <p><font size="3"><br>
          On 04/10/2017 05:29 PM, Radim Jaeger wrote: </font><font
          face="sans-serif" size="2"><br>
          Hi everybody!</font><font size="3"> </font><font
          face="sans-serif" size="2"><br>
          <br>
          I'm new in the Midpoint IDM. My company wants to test its
          reliability for
          a public IT services provided by governmental bodies.</font><font
          size="3">
        </font><font face="sans-serif" size="2"><br>
          <br>
          I tried to install Midpoint v3.5 on the plain CentOS 7
          following instruction
          found on your website. <br>
          <br>
          Kernel version:                3.10.0-514.10.2.el7.x86_64</font><font
          size="3">
        </font><font face="sans-serif" size="2"><br>
          Java Home:                /usr/java/jdk1.8.0_121/jre</font><font
          size="3">
        </font><font face="sans-serif" size="2"><br>
          Java vendor:                Oracle</font><font size="3">
        </font><font face="sans-serif" size="2"><br>
          Tomcat:                8.5.13.0</font><font size="3">
        </font><font face="sans-serif" size="2"><br>
          CATALINA_HOME:        /opt/tomcat</font><font size="3">
        </font><font face="sans-serif" size="2"><br>
          MIDPOINT_HOME:        /var/opt/midpoint</font><font size="3">
        </font><font face="sans-serif" size="2"><br>
          <br>
          When I copied the <b>midpoint.war</b> to the Tomcat <b>webapps</b>
          directory
          and started Tomcat service, it particullary fails. Tomcat
          started all applications
          except midpoint :-(  </font><font size="3"> </font><font
          face="sans-serif" size="2"><br>
          <br>
          In the <b>catalina.out</b> I found errors  </font><font
          size="3"> </font><tt><font size="2" color="blue"><br>
            <br>
            06-Apr-2017 15:38:22.210 INFO [localhost-startStop-1]
            org.apache.catalina.startup.HostConfig.deployWAR
            Deploying web application archive
            /opt/tomcat/webapps/midpoint.war</font></tt><font size="3">
        </font><tt><font size="2" color="blue"><br>
            06-Apr-2017 15:38:28.034 INFO [localhost-startStop-1]
            org.apache.jasper.servlet.TldScanner.scanJars
            At least one JAR was scanned for TLDs yet contained no TLDs.
            Enable debug
            logging for this logger for a complete list of JARs that
            were scanned but
            no TLDs were found in them. Skipping unneeded JARs during
            scanning can
            improve startup time and JSP compilation time.</font></tt><font
          size="3">
        </font><tt><font size="2" color="blue"><br>
            midpoint.home = /var/opt/midpoint/</font></tt><font size="3">
        </font><tt><font size="2" color="blue"><br>
            Loading midPoint configuration from file
            /var/opt/midpoint/config.xml</font></tt><font size="3">
        </font><tt><font size="2" color="blue"><br>
            06-Apr-2017 15:38:32.457 SEVERE [localhost-startStop-1]
            org.apache.catalina.core.StandardContext.startInternal
            One or more listeners failed to start. Full details will be
            found in the
            appropriate container log file</font></tt><font size="3"> </font><tt><font
            size="2" color="blue"><br>
            06-Apr-2017 15:38:32.458 SEVERE [localhost-startStop-1]
            org.apache.catalina.core.StandardContext.startInternal
            Context [/midpoint] startup failed due to previous errors</font></tt><font
          size="3">
        </font><tt><font size="2" color="blue"><br>
            06-Apr-2017 15:38:32.472 INFO [localhost-startStop-1]
            org.apache.catalina.startup.HostConfig.deployWAR
            Deployment of web application archive
            /opt/tomcat/webapps/midpoint.war
            has finished in 10,261 ms</font></tt><font size="3"> <br>
        </font><font face="sans-serif" size="2"><br>
          <br>
          In the <b>idm.log</b> I found logs indicating the midpoint
          started but
          failed : </font><tt><font size="2" color="blue"><br>
            <br>
            2017-04-06 15:38:32,324 [] [localhost-startStop-1] ERROR
            (com.evolveum.midpoint.prism.schema.XmlEntityResolverImpl):
            Unable to resolve entity with publicID: null, systemID: </font></tt><a
          moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd"><tt><font
              size="2" color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd</u></font></tt></a><font
          size="3">
        </font><tt><font size="2" color="blue"><br>
            2017-04-06 15:38:32,324 [] [localhost-startStop-1] ERROR
            (com.evolveum.midpoint.prism.schema.XmlEntityResolverImpl):
            Unable to resolve entity with publicID: null, systemID: </font></tt><a
          moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd"><tt><font
              size="2" color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd</u></font></tt></a><font
          size="3">
        </font><tt><font size="2" color="blue"><br>
            2017-04-06 15:38:32,442 [] [localhost-startStop-1] ERROR
            (com.evolveum.midpoint.prism.schema.SchemaHandler):
            Error occured during schema parsing: [Fatal] on line 1 at </font></tt><a
          moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd"><tt><font
              size="2" color="blue"><u>http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd</u></font></tt></a><tt><font
            size="2" color="blue">,
            null White spaces are required between publicId and
            systemId.</font></tt><font size="3">
        </font><tt><font size="2" color="blue"><br>
            2017-04-06 15:38:32,443 [] [localhost-startStop-1] WARN
            (org.springframework.web.context.support.XmlWebApplicationContext):
            Exception encountered during context initialization -
            cancelling refresh
            attempt:
            org.springframework.beans.factory.BeanCreationException:
            Error
            creating bean with name 'repositoryFactory': Injection of
            autowired dependencies
            failed; nested exception is
            org.springframework.beans.factory.BeanCreationException:
            Could not autowire field: private
            com.evolveum.midpoint.prism.PrismContext
            com.evolveum.midpoint.init.RepositoryFactory.prismContext;
            nested exception
            is org.springframework.beans.factory.BeanCreationException:
            Error creating
            bean with name 'prismContext' defined in class path resource
            [ctx-configuration.xml]:
            Bean instantiation via factory method failed; nested
            exception is
            org.springframework.beans.BeanInstantiationException:
            Failed to instantiate
            [com.evolveum.midpoint.prism.PrismContext]: Factory
            method 'createInitializedPrismContext' threw exception;
            nested exception
            is com.evolveum.midpoint.util.exception.SchemaException: XML
            error during
            XSD schema parsing: White spaces are required between
            publicId and systemId.(embedded
            exception null) in system resource
            xml/ns/public/common/audit-3.xsd</font></tt><font size="3">
        </font><tt><font size="2" color="blue"><br>
            2017-04-06 15:38:32,457 [] [localhost-startStop-1] ERROR
            (org.springframework.web.context.ContextLoader):
            Context initialization failed</font></tt><font size="3"> </font><font
          face="sans-serif" size="2"><br>
          <br>
          The midpoint startup correctly created keystore <b>/var/opt/midpoint/keystore.jceks</b>
          , but did not create H2 database files :-(</font><font
          size="3"> </font><font face="sans-serif" size="2"><br>
          <br>
          Please, help me! What am I doing wrong? </font><font size="3"><br>
          <br>
        </font><font face="sans-serif" size="2"><br>
          <br>
          Serviceconfig and logs are attached.</font><font size="3"> <br>
          <br>
        </font><font face="sans-serif" size="2"><br>
          <br>
          Thank you in advance </font><font size="3"><br>
        </font><font face="sans-serif" size="2"><br>
          <br>
          Radim Jaeger</font><font size="3"> <br>
          <br>
          <br>
          <br>
        </font><tt><font size="3"><br>
            _______________________________________________<br>
            midPoint mailing list</font></tt><font size="3" color="blue"><u><br>
          </u></font><a moz-do-not-send="true"
          href="mailto:midPoint@lists.evolveum.com"><tt><font size="3"
              color="blue"><u>midPoint@lists.evolveum.com</u></font></tt></a><font
          size="3" color="blue"><u><br>
          </u></font><a moz-do-not-send="true"
          href="http://lists.evolveum.com/mailman/listinfo/midpoint"><tt><font
              size="3" color="blue"><u>http://lists.evolveum.com/mailman/listinfo/midpoint</u></font></tt></a><font
          size="3"><br>
          <br>
        </font><tt><font size="3"><br>
            -- <br>
            Ivan Noris<br>
            Senior Identity Engineer<br>
            evolveum.com</font></tt><tt><font size="2"><br>
            _______________________________________________<br>
            midPoint mailing list</font></tt><tt><font size="2"
            color="blue"><u><br>
            </u></font></tt><a moz-do-not-send="true"
          href="mailto:midPoint@lists.evolveum.com"><tt><font size="2"
              color="blue"><u>midPoint@lists.evolveum.com</u></font></tt></a><font
          size="3" color="blue"><u><br>
          </u></font><a moz-do-not-send="true"
          href="http://lists.evolveum.com/mailman/listinfo/midpoint"><tt><font
              size="2" color="blue"><u>http://lists.evolveum.com/mailman/listinfo/midpoint</u></font></tt></a><font
          size="3"><br>
          <br>
          <br>
        </font>
      </p>
      <p>
        <br>
        <tt><font size="3">_______________________________________________<br>
            midPoint mailing list<br>
          </font></tt><a moz-do-not-send="true"
          href="mailto:midPoint@lists.evolveum.com"><tt><font size="3"
              color="blue"><u>midPoint@lists.evolveum.com</u></font></tt></a><tt><font
            size="3"><br>
          </font></tt><a moz-do-not-send="true"
          href="http://lists.evolveum.com/mailman/listinfo/midpoint"><tt><font
              size="3" color="blue"><u>http://lists.evolveum.com/mailman/listinfo/midpoint</u></font></tt></a><tt><font
            size="3"><br>
          </font></tt>
        <br>
        <br>
        <tt><font size="3">-- <br>
            Ivan Noris<br>
            Senior Identity Engineer<br>
            evolveum.com<br>
          </font></tt><tt><font size="2">_______________________________________________<br>
            midPoint mailing list<br>
            <a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
          </font></tt><a moz-do-not-send="true"
          href="http://lists.evolveum.com/mailman/listinfo/midpoint"><tt><font
              size="2">http://lists.evolveum.com/mailman/listinfo/midpoint</font></tt></a><tt><font
            size="2"><br>
          </font></tt>
        <br>
        <br>
        <br>
      </p>
      <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">-- 
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
  </body>
</html>