On 02/11/2009 12:39, eric galant wrote:
Hi,
I am this error when I use follow  a quickstart installation :

lsc::synchronize:
     [java] 0    - WARN  - Starting sync for MySyncTask (db2ldap)
     [java] 1    - FATAL - No value specified in task MySyncTask for
object! Aborting.
     [java] Exception in thread "main"
java.lang.ExceptionInInitializerError: No value specified in task
MySyncTask for object! Aborting.
     [java]     at
org.lsc.SimpleSynchronize.getTaskPropertyAndCheckNotNull(SimpleSynchronize.java:208)

     [java]     at
org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:236)
     [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] Java Result: 1

Thanks for helps,

Hi Eric,

This error is because your configuration file, lsc.properties, defines a task (MySyncTask) but does not say what object to use when reading from the source directory.

You would normally specify a class name here such as "org.lsc.objects.inetOrgPerson" or "org.lsc.objects.user". This class is generated by running the wizard, or command-line generator.

See the reference for details of properties:
> http://lsc-project.org/wiki/documentation/configuration/task

And I suggest you read over this tutorial, to understand the process. It is specifically for synchronizing OpenLDAP to Active Directory, but the principles there should make this clearer:
http://lsc-project.org/wiki/documentation/tutorials/openldaptoactivedirectory

Don't hesitate to ask other questions here :)

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

Reply via email to