2014-02-04 Geoff Crompton <[email protected]>: > > Hi, > > I'm just starting out with lsc. I'm seeing an error being thrown, and I > don't know how to work through the problem. > > ~/tmp/lsc-2.0.3 $ ./bin/lsc -f etc -c all -s all -n > Feb 04 09:58:16 - DEBUG - Loading XML configuration from: > /home/staff/geoffc/tmp/lsc-2.0.3/etc/lsc.xml > Feb 04 09:58:16 - INFO - Reflections took 69 ms to scan 1 urls, producing > 51 keys and 103 values > Feb 04 09:58:16 - DEBUG - Importing XML schema file: > schemas/lsc-core-2.0.xsd > Feb 04 09:58:17 - INFO - Logging configuration successfully loaded from > /home/staff/geoffc/tmp/lsc-2.0.3/etc/logback.xml > Feb 04 09:58:17 - INFO - LSC configuration successfully loaded from > /home/staff/geoffc/tmp/lsc-2.0.3/etc/ > Feb 04 09:58:17 - ERROR - org.lsc.exception.LscConfigurationException: > java.lang.reflect.InvocationTargetException > Feb 04 09:58:17 - DEBUG - org.lsc.exception.LscConfigurationException: > java.lang.reflect.InvocationTargetException > org.lsc.exception.LscConfigurationException: java.lang.reflect. > InvocationTargetException > at org.lsc.Task.<init>(Task.java:127) ~[lsc-core-2.0.3.jar:na] > at org.lsc.SimpleSynchronize.init(SimpleSynchronize.java:103) > ~[lsc-core-2.0.3.jar:na] > at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:145) > ~[lsc-core-2.0.3.jar:na] > at org.lsc.Launcher.run(Launcher.java:224) [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: java.lang.reflect.InvocationTargetException: null > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) ~[na:1.6.0_27] > at sun.reflect.NativeConstructorAccessorImpl.newInstance( > NativeConstructorAccessorImpl.java:57) ~[na:1.6.0_27] > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( > DelegatingConstructorAccessorImpl.java:45) ~[na:1.6.0_27] > at java.lang.reflect.Constructor.newInstance(Constructor.java:532) > ~[na:1.6.0_27] > at org.lsc.Task.<init>(Task.java:107) ~[lsc-core-2.0.3.jar:na] > ... 5 common frames omitted > Caused by: java.lang.NullPointerException: null > at org.lsc.jndi.AbstractSimpleJndiService.<init>( > AbstractSimpleJndiService.java:166) ~[lsc-core-2.0.3.jar:na] > at org.lsc.jndi.SimpleJndiDstService.<init>(SimpleJndiDstService.java:97) > ~[lsc-core-2.0.3.jar:na] > ... 10 common frames omitted > > > As you can see, I've changed my etc/logback.xml configuration to give me > DEBUG output, and hence the stack trace above. I'm just not sure what I've > done wrong. The configuration I'm trying has been based on the sample > lsc.xml file, and the active directory tutorial. > > I would be greatful for any assistance. >
Hi, you can check your configuration with this command: ./bin/lsc -f etc -v If you can't fix your configuration, send it to the list so we can help. Clément.
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

