<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Radim,</p>
    <p>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?)</p>
    <p>The "schema" subdirectory is only for schema additions (custom
      attributes etc.), not for the standard ones. Can you check that
      please?</p>
    <p>/var/opt/midpoint should be completely empty at the start with
      just-downloaded midpoint, possibly with config.xml if you have
      real database.</p>
    <p>Please let me know,</p>
    <p>Ivan<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 04/10/2017 05:29 PM, Radim Jaeger
      wrote:<br>
    </div>
    <blockquote
cite="mid:OF1110A4D9.1BA2DF75-ONC12580FB.0031EF11-C12580FE.005520B7@sysnet.cz"
      type="cite"><font face="sans-serif" size="2">Hi everybody!</font>
      <br>
      <br>
      <font face="sans-serif" size="2">I'm new in the Midpoint IDM. My
        company
        wants to test its reliability for a public IT services provided
        by governmental
        bodies.</font>
      <br>
      <br>
      <font face="sans-serif" size="2">I tried to install Midpoint v3.5
        on
        the plain CentOS 7 following instruction found on your website.
      </font>
      <br>
      <br>
      <font face="sans-serif" size="2">Kernel version:      
                 3.10.0-514.10.2.el7.x86_64</font>
      <br>
      <font face="sans-serif" size="2">Java Home:        
               /usr/java/jdk1.8.0_121/jre</font>
      <br>
      <font face="sans-serif" size="2">Java vendor:        
               Oracle</font>
      <br>
      <font face="sans-serif" size="2">Tomcat:        
               8.5.13.0</font>
      <br>
      <font face="sans-serif" size="2">CATALINA_HOME:      
         /opt/tomcat</font>
      <br>
      <font face="sans-serif" size="2">MIDPOINT_HOME:      
         /var/opt/midpoint</font>
      <br>
      <br>
      <font face="sans-serif" size="2">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>
      <br>
      <br>
      <font face="sans-serif" size="2">In the <b>catalina.out</b> I
        found errors
         </font>
      <br>
      <br>
      <tt><font size="2" color="blue">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>
      <br>
      <tt><font size="2" color="blue">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>
      <br>
      <tt><font size="2" color="blue">midpoint.home = /var/opt/midpoint/</font></tt>
      <br>
      <tt><font size="2" color="blue">Loading midPoint configuration
          from file
          /var/opt/midpoint/config.xml</font></tt>
      <br>
      <tt><font size="2" color="blue">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>
      <br>
      <tt><font size="2" color="blue">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>
      <br>
      <tt><font size="2" color="blue">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>
      <br>
      <br>
      <br>
      <font face="sans-serif" size="2">In the <b>idm.log</b> I found
        logs indicating
        the midpoint started but failed : </font>
      <br>
      <br>
      <tt><font size="2" color="blue">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">http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd</font></tt></a>
      <br>
      <tt><font size="2" color="blue">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">http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd</font></tt></a>
      <br>
      <tt><font size="2" color="blue">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">http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd</font></tt></a><tt><font
          size="2" color="blue">,
          null White spaces are required between publicId and systemId.</font></tt>
      <br>
      <tt><font size="2" color="blue">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>
      <br>
      <tt><font size="2" color="blue">2017-04-06 15:38:32,457 []
          [localhost-startStop-1]
          ERROR (org.springframework.web.context.ContextLoader): Context
          initialization
          failed</font></tt>
      <br>
      <br>
      <font face="sans-serif" size="2">The midpoint startup correctly
        created
        keystore <b>/var/opt/midpoint/keystore.jceks</b> , but did not
        create H2
        database files :-(</font>
      <br>
      <br>
      <font face="sans-serif" size="2">Please, help me! What am I doing
        wrong?
      </font>
      <br>
      <br>
      <br>
      <br>
      <font face="sans-serif" size="2">Serviceconfig and logs are
        attached.</font>
      <br>
      <br>
      <br>
      <br>
      <font face="sans-serif" size="2">Thank you in advance </font>
      <br>
      <br>
      <br>
      <font face="sans-serif" size="2">Radim Jaeger</font>
      <br>
      <br>
      <br>
      <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">-- 
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
  </body>
</html>