2014/1/16 Dragos C. <[email protected]>

> Hi, and thank you in advance for your patience.
>
> So ... downloaded and installed LSC-CORE (rpm's , alien, installed the
> debs on Ubuntu 12.04).
> I installed java 1.6 via oab.sh.
> I downladed nis.jar from oracle and placed it under /usr/lib/lsc/
> I deleted all configs in /etc/lsc/ and put the nis sample in place :
>
> /etc/lsc# ls
> logback-opends.xml  logback.xml  lsc.xml
>
> the config checks says :
> Jan 16 18:45:21 - INFO  - Reflections took 649 ms to scan 2 urls,
> producing 60 keys and 234 values
> Jan 16 18:45:22 - INFO  - Logging configuration successfully loaded from
> /etc/lsc/logback.xml
> Jan 16 18:45:22 - INFO  - LSC configuration successfully loaded from
> /etc/lsc/
> Jan 16 18:45:22 - INFO  - Configuration and environment successfully
> checked !
>
> Yet when i run lsc -f /etc/lsc/ -s all it says :
>
>
> Jan 16 18:47:01 - INFO  - Connecting to LDAP server
> ldap://localhost:389/dc=xxxxxxxxx,dc=xxx as cn=admin,dc=xxxxxxxxxx,dc=xxx
> Jan 16 18:47:01 - ERROR - org.lsc.exception.LscConfigurationException:
> java.lang.reflect.InvocationTargetException
> Jan 16 18:47:01 - 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.jar:na]
>     at org.lsc.SimpleSynchronize.init(SimpleSynchronize.java:103)
> ~[lsc-core-2.0.jar:na]
>     at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:145)
> ~[lsc-core-2.0.jar:na]
>     at org.lsc.Launcher.run(Launcher.java:224) [lsc-core-2.0.jar:na]
>     at org.lsc.Launcher.launch(Launcher.java:159) [lsc-core-2.0.jar:na]
>     at org.lsc.Launcher.main(Launcher.java:142) [lsc-core-2.0.jar:na]
> Caused by: java.lang.reflect.InvocationTargetException: null
>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method) ~[na:1.6.0_45]
>     at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> ~[na:1.6.0_45]
>     at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> ~[na:1.6.0_45]
>     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> ~[na:1.6.0_45]
>     at org.lsc.Task.<init>(Task.java:117) ~[lsc-core-2.0.jar:na]
>     ... 5 common frames omitted
> Caused by: java.lang.NoSuchMethodError:
> org.lsc.configuration.TaskType.getNisSourceService()Lorg/lsc/configuration/NisSourceServiceType;
>     at
> org.lsc.plugins.connectors.nis.NisSrcService.<init>(NisSrcService.java:130)
> ~[lsc-nis-plugin-1.0rc2.jar:na]
>     ... 10 common frames omitted
>
>
> Any idea what I might have missed ?
>
>
>

Hi,

you can find some doc here:
http://lsc-project.org/wiki/documentation/2.0/plugins/nis

To run the connector, you need  to do before:
export
JAVA_OPTS=-DLSC.PLUGINS.PACKAGEPATH=org.lsc.plugins.connectors.nis.generated

Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

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

Reply via email to