EduGain Metadata integration
Alan Buxey
alan.buxey at myunidays.com
Wed May 24 11:08:27 EDT 2017
okay, so the older 0.8.0 version only worked with openjdk 1.7 (wouldnt
work with openjdk 1.8.0 or Sun Java 8 - due to the Spring changes)
the newer 0.9.2 wont work with this stuff because the config/mda.xml
some (lots of?) changes to align with the API adds/removes/changes -
this file is in the "eduGAIN-Metadata-Processing.zip" archive that you
download - thus that file needs a refresh. I've never seen that file
before
yesterday and have done some quick updates.... changing eg
java.io.File to the springframework. the older errors are now gone,
am now just
dealing with
2017-05-24 11:10:48,132 [main] WARN
net.shibboleth.utilities.java.support.xml.SchemaBuilder - XML Parsing
Error
org.xml.sax.SAXParseException: schema_reference.4: Failed to read
schema document 'xmldsig-core-schema.xsd', because 1) could not find
the document; 2) the document could not be read; 3) the root element
of the document is not <xsd:schema>.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
2017-05-24 11:10:48,134 [main] WARN
org.springframework.context.support.FileSystemXmlApplicationContext -
Exception encountered during context initialization - cancelling
refresh attempt:
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'validateSchema' defined in URL
[file:/opt/eduGAIN-Metadata-Processing/./bin/../config/mda.xml]:
Invocation of init method failed; nested exception is
net.shibboleth.utilities.java.support.component.ComponentInitializationException:
Unable to generate schema
2017-05-24 11:10:48,138 [main] ERROR
net.shibboleth.metadata.cli.SimpleCommandLine - Unable to initialize
Spring context
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'validateSchema' defined in URL
[file:/opt/eduGAIN-Metadata-Processing/./bin/../config/mda.xml]:
Invocation of init method failed; nested exception is
net.shibboleth.utilities.java.support.component.ComponentInitializationException:
Unable to generate schema
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
Caused by: net.shibboleth.utilities.java.support.component.ComponentInitializationException:
Unable to generate schema
at net.shibboleth.metadata.dom.XMLSchemaValidationStage.doInitialize(XMLSchemaValidationStage.java:177)
Caused by: org.xml.sax.SAXParseException: schema_reference.4: Failed
to read schema document 'xmldsig-core-schema.xsd', because 1) could
not find the document; 2) the document could not be read; 3) the root
element of the document is not <xsd:schema>.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
alan
More information about the users
mailing list