Hello, 

I am currently working on an OpenLDAP to AD synchronization, and I have 
problems regarding the lsc.properties configuration file. I followed (with 
difficulties, i have to say, as I still am a student) the tutorial 
(http://lsc-project.org/wiki/documentation/tutorials/openldaptoactivedirectory) 
on the website, but i have errors when i test the synchronization with the "ant 
lsc::syncrhonize" command :

code : 
     [java] 0    - WARN  - Starting sync for user (ldap2ldap)
     [java] 0    - FATAL - Error while launching the following task: user. Pleas
e check your code ! (java.lang.reflect.InvocationTargetException)
     [java] java.lang.reflect.InvocationTargetException
     [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
     [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
onstructorAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
egatingConstructorAccessorImpl.java:27)
     [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:51
3)
     [java]     at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:2
44)
     [java]     at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:172)
     [java]     at org.lsc.Launcher.run(Launcher.java:125)
     [java]     at org.lsc.Launcher.main(Launcher.java:113)
     [java] Caused by: java.lang.ExceptionInInitializerError
     [java]     at org.lsc.jndi.SimpleJndiDstService.<init>(SimpleJndiDstService
.java:94)
     [java]     ... 8 more
     [java] Caused by: java.lang.ClassNotFoundException: org.lsc.beans.inetOrgPe
rsonBean
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     [java]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
     [java]     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:169)
     [java]     at org.lsc.jndi.SimpleJndiDstService.<init>(SimpleJndiDstService
.java:92)
     [java]     ... 8 more

As I don't really know Java language, i cannot figure out if this error is 
caused by a configuration problem when I built the connector, or by a bad 
configuration (or version) of the java JDK.

Thanks in advance if you can help me. 

Cheers, 

S?bastien

ps : as far as i can see, most of the developpers seem to be french ; as i am 
french too, an answer in french is ok for me, if it is alright for the 
community. 

Reply via email to