Le 25/10/2018 à 16:41, Martin Röh a écrit : > Hi, >
Hello Martin, > I have a problem/question regarding the lsc-nis-plugin. Perhaps > somebody can help me ? > > I did all the things written in the wiki but when I check the xml file > with lsc -v -f /etc/lsc/nis2ad/ I get this error: > > Oct 24 17:21:21 - ERROR - Unable to load configuration > (org.lsc.exception.LscConfigurationException: Configuration exception: > src-resolve: Cannot resolve the name 'lsc:connectionType' to a(n) > 'type definition' component.) > org.lsc.exception.LscConfigurationException: Configuration exception: > src-resolve: Cannot resolve the name 'lsc:connectionType' to a(n) > 'type definition' component. > at > org.lsc.configuration.JaxbXmlConfigurationHelper.getConfiguration(JaxbXmlConfigurationHelper.java:157)~[lsc-core-2.1.4.jar:na] > > at org.lsc.Configuration.setUp(Configuration.java:482) > ~[lsc-core-2.1.4.jar:na] > at org.lsc.Launcher.run(Launcher.java:194) > [lsc-core-2.1.4.jar:na] > at org.lsc.Launcher.launch(Launcher.java:158) > [lsc-core-2.1.4.jar:na] > at org.lsc.Launcher.main(Launcher.java:141) > [lsc-core-2.1.4.jar:na] > Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve > the name 'lsc:connectionType' to a(n) 'type definition' component. > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:4154)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaError(XSDHandler.java:4137)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getGlobalDecl(XSDHandler.java:1684)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexTypeTraverser.traverseComplexContent(XSDComplexTypeTraverser.java:768)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexTypeTraverser.traverseComplexTypeDecl(XSDComplexTypeTraverser.java:315)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexTypeTraverser.traverseGlobal(XSDComplexTypeTraverser.java:191)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.traverseSchemas(XSDHandler.java:1436)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:635)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:610)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:569)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:535)~[na:1.8.0_191] > > at > com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.newSchema(XMLSchemaFactory.java:254)~[na:1.8.0_191] > > at > org.lsc.configuration.JaxbXmlConfigurationHelper.getConfiguration(JaxbXmlConfigurationHelper.java:151)~[lsc-core-2.1.4.jar:na] > > ... 4 common frames omitted > > Have anybody an idea / hint for a solution ? > Did you export JAVA_OPTS to load the plugin? export JAVA_OPTS=-DLSC.PLUGINS.PACKAGEPATH=org.lsc.plugins.connectors.nis.generated See https://lsc-project.org/documentation/plugins/nis#run_the_connector -- Clément Oudot | Identity Solutions Manager [email protected] Worteks | https://www.worteks.com
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

