Matjaz Premerl
2018-09-07 07:19:38 UTC
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.
***@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]
Regards,
MatjaÅŸ
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.
***@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]
Regards,
MatjaÅŸ