Issue #687 has been reported by Deividas haspo.

----------------------------------------
Bug #687: Error on ad2openldap sync
http://tools.lsc-project.org/issues/687

Author: Deividas haspo
Status: New
Priority: Normal
Assigned to: Clément OUDOT
Category: 
Target version: 
Problem in version: 


Hi, I tried to make ad2openldap sync from this: 
https://lsc-project.org/svn/lsc/trunk/sample/ad/etc-opendj2ad/lsc.xml but not 
succesfull. Got this error and I'm stuck with it. 

$ bin/lsc -f /lsc/etc/ad2openldap -s all -c all -n
Apr 03 11:49:12 - DEBUG - Loading XML configuration from: 
C:\lsc\etc\ad2openldap\lsc.xml
Apr 03 11:49:12 - INFO  - Reflections took 187 ms to scan 1 urls, producing 51 
keys and 103 values
Apr 03 11:49:12 - DEBUG - Importing XML schema file: schemas/lsc-core-2.0.xsd
Apr 03 11:49:12 - ERROR - org.lsc.exception.LscConfigurationException: 
javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException; systemId: file:/C:/lsc/etc/ad2openldap/lsc.xml; 
lineNumber: 2; columnNumber: 71; cvc-elt.1: Cannot find the declaration of 
element 'lsc'.]
org.lsc.exception.LscConfigurationException: javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException; systemId: file:/C:/lsc/etc/ad2openldap/lsc.xml; 
lineNumber: 2; columnNumber: 71; cvc-elt.1: Cannot find the declaration of 
element 'lsc'.]
        at 
org.lsc.configuration.JaxbXmlConfigurationHelper.getConfiguration(JaxbXmlConfigurationHelper.java:172)
 ~[lsc-core-2.0.3.jar:na]
        at org.lsc.Configuration.setUp(Configuration.java:481) 
[lsc-core-2.0.3.jar:na]
        at org.lsc.Configuration.setUp(Configuration.java:456) 
[lsc-core-2.0.3.jar:na]
        at org.lsc.Launcher.run(Launcher.java:206) [lsc-core-2.0.3.jar:na]
        at org.lsc.Launcher.launch(Launcher.java:159) [lsc-core-2.0.3.jar:na]
        at org.lsc.Launcher.main(Launcher.java:142) [lsc-core-2.0.3.jar:na]
Caused by: javax.xml.bind.UnmarshalException: null
        at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unknown
 Source) ~[na:1.8.0]
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown 
Source) ~[na:1.8.0]
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown 
Source) ~[na:1.8.0]
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown 
Source) ~[na:1.8.0]
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown 
Source) ~[na:1.8.0]
        at 
org.lsc.configuration.JaxbXmlConfigurationHelper.getConfiguration(JaxbXmlConfigurationHelper.java:170)
 ~[lsc-core-2.0.3.jar:na]
        ... 5 common frames omitted
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the 
declaration of element 'lsc'.
        at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown 
Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown 
Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown 
Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown 
Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.xml.internal.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown 
Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
 Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source) ~[na:1.8.0]
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown 
Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown 
Source) ~[na:1.8.0]
        at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
 Source) ~[na:1.8.0]
        ... 12 common frames omitted


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to