Can I reset the change number for an LDAP resource?

I need to reset the change number for some LDAP active sync threads. How can I do this? It is not obvious for me how to go about this. Does anyone know?Jim
[169 byte] By [JimBearda] at [2007-11-26 19:06:08]
# 1
Anyone?
JimBearda at 2007-7-9 20:57:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

I don't use the LDAP ActiveSync adapter, but if it's the same as others we use, you should be able to edit the IAPI object for the resource.

In Debug, list objects of type Configuration and look for IAPI_YourResourceName. Edit this object and look for a MapEntry which stores the change number and set it to the value you need.

Jason

jsalleea at 2007-7-9 20:57:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3
Thanks for the feedback. I feel like I have seen those objects before, but when I look in Configuration, they are not present. Do you know what type they are?
JimBearda at 2007-7-9 20:57:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
I have active sync adapters for several LDAP resources running. Yet when I look for their IAPI configuration objects I can't find any. Does anyone know why that might be?
JimBearda at 2007-7-9 20:57:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5
You could try the brute force approach. Open console, "export <filename> default" and then grep the file for "name='IAPI".Jason
jsalleea at 2007-7-9 20:57:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6
I did that, but still have not found these objects. I feel like I did see them at one point in time, but now I can not find them. I am curious why the active sync threads are running without them..
JimBearda at 2007-7-9 20:57:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 7
Man, you have the worst luck. Did you shoot an albatross or something? The change number has to be stored somewhere. Have you tried tracing on com.waveset.adapter.LDAPListenerActiveSyncAdapter?Jason
jsalleea at 2007-7-9 20:57:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 8
Sometimes I feel like I got hit by a Mac truck thats license plate read "IDM"....
JimBearda at 2007-7-9 20:57:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 9

Found it!

I forgot to mention that we are running IDM 7.0. I spoke with a support person from SUN, and they informed me that the IAPI objects are no longer around in IDM 7.0. Instead the data is stored in XmlData object types. There names start with SYNC_<resourceName>.

Sure enough the number was there.

Thanks again for you feedback.

JimBearda at 2007-7-9 20:57:08 > top of Java-index,Web & Directory Servers,Directory Servers...