Issue #447 has been updated by Clément OUDOT.

Status changed from Feedback to Assigned
Assigned to changed from Clément OUDOT to Sébastien Bahloul

I was abl to build the plugin and test it with the NIS sample. But I get this 
error:
<pre>
clement@ader:~/tmp/lsc-2.0-SNAPSHOT$ bin/lsc -f sample/nis/etc -s passwd
mai 22 14:22:56 - DEBUG - Loading XML configuration from: 
/home/clement/tmp/lsc-2.0-SNAPSHOT/sample/nis/etc/lsc.xml
mai 22 14:22:57 - INFO  - Reflections took 281 ms to scan 2 urls, producing 60 
keys and 244 values 
mai 22 14:22:57 - DEBUG - Importing XML schema file: schemas/lsc-core-2.0.xsd
mai 22 14:22:57 - DEBUG - Importing XML schema file: 
schemas/lsc-nis-plugin-1.0.xsd
mai 22 14:22:57 - INFO  - Logging configuration successfully loaded from 
/home/clement/tmp/lsc-2.0-SNAPSHOT/sample/nis/etc/logback.xml 
mai 22 14:22:57 - INFO  - LSC configuration successfully loaded from 
/home/clement/tmp/lsc-2.0-SNAPSHOT/sample/nis/etc/
mai 22 14:22:57 - INFO  - Connecting to LDAP server 
ldap://localhost:33389/dc=lsc-project,dc=org as cn=Directory Manager
mai 22 14:22:57 - ERROR - org.lsc.exception.LscConfigurationException: 
java.lang.reflect.InvocationTargetException
mai 22 14:22:57 - DEBUG - org.lsc.exception.LscConfigurationException: 
java.lang.reflect.InvocationTargetException
org.lsc.exception.LscConfigurationException: 
java.lang.reflect.InvocationTargetException
        at org.lsc.Task.<init>(Task.java:124) ~[lsc-core-2.0-SNAPSHOT.jar:na]
        at org.lsc.SimpleSynchronize.init(SimpleSynchronize.java:103) 
~[lsc-core-2.0-SNAPSHOT.jar:na]
        at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:145) 
~[lsc-core-2.0-SNAPSHOT.jar:na]
        at org.lsc.Launcher.run(Launcher.java:223) 
[lsc-core-2.0-SNAPSHOT.jar:na]
        at org.lsc.Launcher.launch(Launcher.java:158) 
[lsc-core-2.0-SNAPSHOT.jar:na]
        at org.lsc.Launcher.main(Launcher.java:141) 
[lsc-core-2.0-SNAPSHOT.jar:na]
Caused by: java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method) ~[na:1.6.0_26]
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 ~[na:1.6.0_26]
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 ~[na:1.6.0_26]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 
~[na:1.6.0_26]
        at org.lsc.Task.<init>(Task.java:117) ~[lsc-core-2.0-SNAPSHOT.jar:na]
        ... 5 common frames omitted
Caused by: org.lsc.exception.LscServiceConfigurationException: Unable to 
identify the nis service configuration inside the plugin source node of the 
task: passwd
        at 
org.lsc.plugins.connectors.nis.NisSrcService.<init>(NisSrcService.java:131) 
~[lsc-nis-plugin-1.0-SNAPSHOT.jar:na]
        ... 10 common frames omitted

</pre>
----------------------------------------
Feature #447: NIS (YP) source service plugin
http://tools.lsc-project.org/issues/447

Author: Clément OUDOT
Status: Assigned
Priority: Normal
Assigned to: Sébastien Bahloul
Category: Plugin
Target version: 2.0


Provide a NIS source service plugin


-- 
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