<font size=2 face="sans-serif">Hi Ivan!</font>
<br>
<br><font size=2 face="sans-serif">Well. I completely reinstalled midpoint
3.5 into a clear place. </font>
<br><font size=2 face="sans-serif">I found in the <b>/var/opt/midpoint/schema</b>
  the subdirectory <b>xml</b> with some content.</font>
<br>
<br><font size=2 face="sans-serif">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>
<br>
<br><font size=2 face="sans-serif">The same error occurs :-(</font>
<br>
<br>
<br><font size=2 face="sans-serif">Radim</font>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">Od:      
 </font><font size=1 face="sans-serif">Ivan Noris <ivan.noris@evolveum.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Komu:      
 </font><font size=1 face="sans-serif">midpoint@lists.evolveum.com</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Datum:      
 </font><font size=1 face="sans-serif">10.04.2017 17:36</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Předmět:    
   </font><font size=1 face="sans-serif">Re: [midPoint]
Installation of midpoint 3.5 on CentOS 7 failed</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Odeslal:    
   </font><font size=1 face="sans-serif">"midPoint"
<midpoint-bounces@lists.evolveum.com></font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>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><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><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><font size=3>Please let me know,</font>
<p><font size=3>Ivan</font>
<p>
<br><font size=3>On 04/10/2017 05:29 PM, Radim Jaeger wrote:</font>
<br><font size=2 face="sans-serif">Hi everybody!</font><font size=3> <br>
</font><font size=2 face="sans-serif"><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>
<br>
</font><font size=2 face="sans-serif"><br>
I tried to install Midpoint v3.5 on the plain CentOS 7 following instruction
found on your website. </font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Kernel version:                3.10.0-514.10.2.el7.x86_64</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Java Home:                /usr/java/jdk1.8.0_121/jre</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Java vendor:                Oracle</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Tomcat:                8.5.13.0</font><font size=3>
</font><font size=2 face="sans-serif"><br>
CATALINA_HOME:        /opt/tomcat</font><font size=3>
</font><font size=2 face="sans-serif"><br>
MIDPOINT_HOME:        /var/opt/midpoint</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><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> <br>
</font><font size=2 face="sans-serif"><br>
In the <b>catalina.out</b> I found errors  </font><font size=3> <br>
</font><tt><font size=2 color=blue><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>
<br>
</font><font size=2 face="sans-serif"><br>
In the <b>idm.log</b> I found logs indicating the midpoint started but
failed : </font><font size=3><br>
</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 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 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 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> <br>
</font><font size=2 face="sans-serif"><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> <br>
</font><font size=2 face="sans-serif"><br>
Please, help me! What am I doing wrong? </font><font size=3><br>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
Serviceconfig and logs are attached.</font><font size=3> <br>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
Thank you in advance </font><font size=3><br>
<br>
</font><font size=2 face="sans-serif"><br>
Radim Jaeger</font><font size=3> <br>
<br>
<br>
<br>
</font>
<br><tt><font size=3>_______________________________________________<br>
midPoint mailing list<br>
</font></tt><a 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 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>
midPoint@lists.evolveum.com<br>
</font></tt><a 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>