Hi, Thanks for last valuable answers. Regarding the conditions I've found that I should put the conditions section before the <dataset> sections. Now it's fine, and one simple condition is already working.
Regards, Matjaž V V pet., 7. sep. 2018 ob 09:49 je oseba Clément OUDOT < [email protected]> napisala: > > > Le 07/09/2018 à 09:19, Matjaz Premerl a écrit : > > Hi, > > > > Today I want to try with the conditions within the sample environment > > of lsc. For start I've started with the provided from the examples. > > When I run the synchronization, I'm getting the error below. Can you > > maybe point me what should I correct? In the error there is also > > mentioned something about the auditLog. > > > > matjazp@ub1:~/lsc-2.1.4/sample/hsqldb$ bin/lsc-sample --run > > Running "/home/matjazp/lsc-2.1.4/sample/hsqldb/bin/../../../bin/lsc" > > --config "/home/matjazp/lsc-2.1.4/sample/hsqldb/bin/../etc" > > --synchronize all --clean all > > Sep 07 09:12:43 - ERROR - Unable to load configuration > > (org.lsc.exception.LscConfigurationException: Configuration exception: > > null) > > org.lsc.exception.LscConfigurationException: Configuration exception: > null > > at > > > org.lsc.configuration.JaxbXmlConfigurationHelper.getConfiguration(JaxbXmlConfigurationHelper.java:162) > > ~[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.Configuration.setUp(Configuration.java:456) > > [lsc-core-2.1.4.jar:na] > > at org.lsc.Launcher.run(Launcher.java:205) > [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: javax.xml.bind.UnmarshalException: null > > at > > > javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:335) > > ~[na:1.8.0_181] > > at > > > com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:563) > > ~[na:1.8.0_181] > > at > > > com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:249) > > ~[na:1.8.0_181] > > at > > > com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214) > > ~[na:1.8.0_181] > > at > > > javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157) > > ~[na:1.8.0_181] > > at > > > javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162) > > ~[na:1.8.0_181] > > at > > > javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171) > > ~[na:1.8.0_181] > > at > > > javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189) > > ~[na:1.8.0_181] > > at > > > org.lsc.configuration.JaxbXmlConfigurationHelper.getConfiguration(JaxbXmlConfigurationHelper.java:160) > > ~[lsc-core-2.1.4.jar:na] > > ... 5 common frames omitted > > Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: > > Invalid content was found starting with element 'conditions'. One of > > '{"http://lsc-project.org/XSD/lsc-core-2.1.xsd":auditLog}' is expected. > > at > > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) > > ~[na:1.8.0_181] > > at > > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134) > > ~[na:1.8.0_181] > > > > There should be an error in your lsc.xml file, you can validate its > syntax with : > lsc -v -f /home/matjazp/lsc-2.1.4/sample/hsqldb/etc > > > -- > 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
_______________________________________________________________ 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

