[midPoint] Installation of midpoint 3.5 on CentOS 7 failed
Radim Jaeger
rjaeger at sysnet.cz
Mon Apr 10 17:29:48 CEST 2017
Hi everybody!
I'm new in the Midpoint IDM. My company wants to test its reliability for
a public IT services provided by governmental bodies.
I tried to install Midpoint v3.5 on the plain CentOS 7 following
instruction found on your website.
Kernel version: 3.10.0-514.10.2.el7.x86_64
Java Home: /usr/java/jdk1.8.0_121/jre
Java vendor: Oracle
Tomcat: 8.5.13.0
CATALINA_HOME: /opt/tomcat
MIDPOINT_HOME: /var/opt/midpoint
When I copied the midpoint.war to the Tomcat webapps directory and started
Tomcat service, it particullary fails. Tomcat started all applications
except midpoint :-(
In the catalina.out I found errors
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
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.
midpoint.home = /var/opt/midpoint/
Loading midPoint configuration from file /var/opt/midpoint/config.xml
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
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
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
In the idm.log I found logs indicating the midpoint started but failed :
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:
http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd
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:
http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd
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
http://midpoint.evolveum.com/xml/ns/public/common/common-core-3.xsd, null
White spaces are required between publicId and systemId.
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
2017-04-06 15:38:32,457 [] [localhost-startStop-1] ERROR
(org.springframework.web.context.ContextLoader): Context initialization
failed
The midpoint startup correctly created keystore
/var/opt/midpoint/keystore.jceks , but did not create H2 database files
:-(
Please, help me! What am I doing wrong?
Serviceconfig and logs are attached.
Thank you in advance
Radim Jaeger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170410/f7d2db89/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: catalina.out
Type: application/octet-stream
Size: 9724 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170410/f7d2db89/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: idm.log
Type: application/octet-stream
Size: 25833 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170410/f7d2db89/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tomcat.service
Type: application/octet-stream
Size: 814 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170410/f7d2db89/attachment-0002.obj>
More information about the midPoint
mailing list