Issue #124 has been updated by J?r?me Schell.
Ok thanks Jonathan, this works.
Nevertheless, if I remove <result property="uid" column="uid"/> from the
resultMap, I get a NPE:
<pre>
0 - WARN - Starting sync for mytask (db2ldap)
620 - ERROR - java.lang.NullPointerException
java.lang.NullPointerException
at
org.lsc.AbstractSynchronize.logActionError(AbstractSynchronize.java:476)
at
org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:436)
at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:291)
at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:179)
at org.lsc.Launcher.run(Launcher.java:125)
at org.lsc.Launcher.main(Launcher.java:113)
</pre>
When I leave it, it works.
----------------------------------------
Bug #124: Clean phase of db2ldap deletes all entities
http://tools.lsc-project.org/issues/show/124
Author: J?r?me Schell
Status: Feedback
Priority: High
Assigned to:
Category: Documentation
Target version:
During the clean phase of a db2ldap job, all entities in the destination are
deleted.
After tracking the problem a bit, it seems that the method clean2Ldap of
org.lsc.AbstractSynchronize loops on all destination entries and calls the
getObject method of org.lsc.service.AbstractJdbcService passing it the id of
the entry (to look for it in the source).
The problem is that the format of the id is the DN of the LDAP entry
(uid=john.do,dc=mydomain,dc=com) and in the case of a JDBC source, that value
is irrelevant.
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20091014/67fe3a26/attachment.htm>