ldapnightlysync not working?
![](http://jazz.net/_images/myphoto/b1b669365c45698308dd2170505ee316.jpg)
I'm trying to figure out why the ldapnightlysync isn't syncronizing users. I'v checked the feed https://server:port/jts/events?provider=ldapnightlysync and there is no output there, there's no relevant output in the jts.log file or the JVM sysout log file.
If I kick it off manually from the command line using the -syncUsers option it indicates it started succesfully:
However there is still no output.
I can successfully import users and their group membership is correctly recognized.
Is there any logging I can enable or any other way to troubleshoot this?
Environment is rtc 3.0.1 on WAS7 on linux.
If I kick it off manually from the command line using the -syncUsers option it indicates it started succesfully:
User synchronization has been successfully requested and is running in the background. Progress can be tracked using the feed at 'https://server:port/jts/events?provider=ldapnightlysync'.
However there is still no output.
I can successfully import users and their group membership is correctly recognized.
Is there any logging I can enable or any other way to troubleshoot this?
Environment is rtc 3.0.1 on WAS7 on linux.
2 answers
![](http://jazz.net/_images/myphoto/b1b669365c45698308dd2170505ee316.jpg)
Hi,
you can enable logging in the file <InstallDir>\server\conf\jts\log4j.properties
################################
# LDAP access from jazz #
################################
#Turn on query trace against the LDAP server
#log4j.logger.com.ibm.team.repository.service.jts.internal.userregistry.ldap.LDAPUserRegistry=DEBUG
#Turn on asynch task DEBUG trace
#log4j.logger.com.ibm.team.repository.service.internal.scheduler=DEBUG
you can enable logging in the file <InstallDir>\server\conf\jts\log4j.properties
################################
# LDAP access from jazz #
################################
#Turn on query trace against the LDAP server
#log4j.logger.com.ibm.team.repository.service.jts.internal.userregistry.ldap.LDAPUserRegistry=DEBUG
#Turn on asynch task DEBUG trace
#log4j.logger.com.ibm.team.repository.service.internal.scheduler=DEBUG
![](http://jazz.net/_images/myphoto/b1b669365c45698308dd2170505ee316.jpg)
Thanks,
I do see where now in the jts.log file the below line is output:
2011-10-24 08:53:50,547 DEBUG ce.jts.internal.userregistry.ldap.LDAPUserRegistry - Query to find all the groups - ldapsearch -h ___________________________
But the details (not included here) in the line all look accurate and no errors were seen.
Any other thoughts? I have opened a PMR, I was just curious if anybody had seen this behavior.
Scott
I do see where now in the jts.log file the below line is output:
2011-10-24 08:53:50,547 DEBUG ce.jts.internal.userregistry.ldap.LDAPUserRegistry - Query to find all the groups - ldapsearch -h ___________________________
But the details (not included here) in the line all look accurate and no errors were seen.
Any other thoughts? I have opened a PMR, I was just curious if anybody had seen this behavior.
Scott
Hi,
you can enable logging in the file <InstallDir>\server\conf\jts\log4j.properties
################################
# LDAP access from jazz #
################################
#Turn on query trace against the LDAP server
#log4j.logger.com.ibm.team.repository.service.jts.internal.userregistry.ldap.LDAPUserRegistry=DEBUG
#Turn on asynch task DEBUG trace
#log4j.logger.com.ibm.team.repository.service.internal.scheduler=DEBUG