Jazz Team Server + MS Active Directory Configuration
Hello,
I am trying to setup a Jazz Team server with MS AD as the user repository. I have the following setup: LDAP Registry Location LDAP://SereverFQDN:389 Username: CN of a user that is located in the BASE User DN OU Password: Password Base User DN: OU=Users,OU=GBS ORA Rational,OU=Projects,DC=example,DC=clearlake,DC=ibm,DC=com - The OU containing all of the users that will be associated with Jazz Team Server User Property Names Mapping: userId=cn,name=distinguishedName,emailAddress=mail Base Group DN: CN=otqm01JazzUsers,OU=Users,OU=GBS ORA Rational,OU=Projects,DC=houdmz,DC=clearlake,DC=ibm,DC=com Jazz to LDAP Group Mapping: JazzAdmins=otqm01JazzAdmins,JazzUsers=otqm01JazzUsers,JazzDWAdmins=otqm01JazzDWAdmins,JazzGuests=otqm01JazzGuests Group Name Property: cn Group Member Property: member These settings allow for Jazz to test the LDAP connection successfully, but when I try to click Next on the config web page it gives me "A problem occurred while computing LDAP queries." I have checked all of the log files that I have read about and looked throughout the web and have found nothing. Any help would be great!! Thank you in advance! Chris |
6 answers
Hello,
I guess you may want to verify your LDAP settings outside of JTS context by following the guidelines as described here: https://jazz.net/wiki/bin/view/Main/LDAP4Dummies#Test_your_LDAP_parameters Depending on your environment (Tomcat / WAS), you may want to follow the instructions in this document. If you're still unable to proceed, then please provide us with more details: - environment - Tomcat / WAS - OS - version (1.0 or 1.0.1) - detailed error message. Thanks. Eric. cheublein a crit : Hello, |
Hello,
I am able to connect to the LDAP repository on my Domain Controller via the Softerra LDAP browser and see all of the OU's with the same credentials I am using to set up the Jazz Team server. I will try and answer the questions asked in the previous post - - environment - Tomcat / WAS - I am not too sure how to find out what version of TomCat I am running / WebSphere Application Server 6.1.0.19 - OS - Windows 2003 - version (1.0 or 1.0.1) - 1.0 (I20080618-1642) - detailed error message. - Not really any detailed error messages. Here is what I found in the SystemOut.log ************ Start Display Current Environment ************ WebSphere Platform 6.1 running with process name hou23otq01Node01Cell\hou23otq01Node01\server1 and process id 1928 Host Operating System is Windows Server 2003, version 5.2 build 3790 Service Pack 2 Java version = J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223ifx-20080811 (JIT enabled) J9VM - 20080809_21892_lHdSMr JIT - 20080620_1845_r8 GC - 200806_19, Java Compiler = j9jit23, Java VM name = IBM J9 VM was.install.root = C:/IBM/WebSphere/AppServer1 user.install.root = C:\IBM\WebSphere\AppServer1\profiles\AppSrv01 Java Home = C:\IBM\WebSphere\AppServer1\java\jre ws.ext.dirs = C:/IBM/WebSphere/AppServer1/java/lib;C:\IBM\WebSphere\AppServer1\profiles\AppSrv01/classes;C:/IBM/WebSphere/AppServer1/classes;C:/IBM/WebSphere/AppServer1/lib;C:/IBM/WebSphere/AppServer1/installedChannels;C:/IBM/WebSphere/AppServer1/lib/ext;C:/IBM/WebSphere/AppServer1/web/help;C:/IBM/WebSphere/AppServer1/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime Classpath = C:\IBM\WebSphere\AppServer1\profiles\AppSrv01/properties;C:/IBM/WebSphere/AppServer1/properties;C:/IBM/WebSphere/AppServer1/lib/startup.jar;C:/IBM/WebSphere/AppServer1/lib/bootstrap.jar;C:/IBM/WebSphere/AppServer1/lib/j2ee.jar;C:/IBM/WebSphere/AppServer1/lib/lmproxy.jar;C:/IBM/WebSphere/AppServer1/lib/urlprotocols.jar;C:/IBM/WebSphere/AppServer1/deploytool/itp/batchboot.jar;C:/IBM/WebSphere/AppServer1/deploytool/itp/batch2.jar;C:/IBM/WebSphere/AppServer1/java/lib/tools.jar Java Library path = C:\IBM\WebSphere\AppServer1\java\jre\bin;.;C:\IBM\WebSphere\AppServer1\bin;C:\IBM\WebSphere\AppServer1\java\bin;C:\IBM\WebSphere\AppServer1\java\jre\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\Director\bin;C:\Program Files\Common Files\IBM\ICC\cimom\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\IBM\WebSphere\AppServer1\lib\WMQ\java\lib ************* End Display Current Environment ************* yService.activate(ExternalUserRegistryService.java:127) ... 55 more Caused by: javax.naming.NameNotFoundException: Name "GlobalUserDatabase" not found in context "java:comp/env". at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1095) at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:991) at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263) at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:384) at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1307) at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:353) at com.ibm.team.repository.service.internal.userregistry.TomcatUserRegistryProvider.initUserDb(TomcatUserRegistryProvider.java:59) ... 66 more 00000020 SystemOut O 11:08:51,556 WARN .team.repository.servlet.AbstractTeamServerServlet - CRJAZ1173I Service "com.ibm.team.repository.service.internal.IExternalUserRegistryRestService" is not available. CRJAZ1170I The request was made by user "wasadmin" from "sohae2.clearlake.ibm.com". CRJAZ1166I The stack trace hash is 566F8C550730A93F3E3531E6616628E2CF6FA2D2. com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1092I The service class "com.ibm.team.repository.service.internal.userregistry.ExternalUserRegistryService" failed during activation. at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.bindRequiredServices(AbstractActivationManagerOwner.java:198) at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:484) at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:133) at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:260) at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:269) at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:267) at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:470) at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:133) at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:260) at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:269) at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:267) at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:470) at com.ibm.team.repository.common.transport.internal.registry.ExtensionServiceActivationManagerOwner.doActivate(ExtensionServiceActivationManagerOwner.java:69) at com.ibm.team.repository.common.transport.internal.registry.ExtensionServiceActivationManagerOwner.forceActivate(ExtensionServiceActivationManagerOwner.java:91) at com.ibm.team.repository.common.transport.registry.ExtensionServiceElementDescriptor.getImplementation(ExtensionServiceElementDescriptor.java:341) at com.ibm.team.repository.service.internal.webuiInitializer.WebUIInitializerRestService.service(WebUIInitializerRestService.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55) at $Proxy4.service(Unknown Source) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:787) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1376) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102) at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) Caused by: java.lang.RuntimeException: CRJAZ0710I Failed to get the registry provider for user import. Check the server configuration and verify the property "user.registry.type". at com.ibm.team.repository.service.internal.userregistry.ExternalUserRegistryService.activate(ExternalUserRegistryService.java:131) at com.ibm.team.repository.service.AbstractService.bindRequiredServices(AbstractService.java:164) at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.bindRequiredServices(AbstractActivationManagerOwner.java:192) ... 53 more Caused by: com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0797I Unable to lookup Tomcat user database. at com.ibm.team.repository.service.internal.userregistry.TomcatUserRegistryProvider.initUserDb(TomcatUserRegistryProvider.java:61) at com.ibm.team.repository.service.internal.userregistry.TomcatUserRegistryProvider.createRegistry(TomcatUserRegistryProvider.java:79) at com.ibm.team.repository.service.userregistry.provider.AbstractUserRegistryProvider.getRegistry(AbstractUserRegistryProvider.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:375) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:361) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:55) at $Proxy310.getRegistry(Unknown Source) at com.ibm.team.repository.service.internal.userregistry.ExternalUserRegistryService.activate(ExternalUserRegistryService.java:127) ... 55 more Caused by: javax.naming.NameNotFoundException: Name "GlobalUserDatabase" not found in context "java:comp/env". at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1095) at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:991) at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263) at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:384) at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1307) at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:353) at com.ibm.team.repository.service.internal.userregistry.TomcatUserRegistryProvider.initUserDb(TomcatUserRegistryProvider.java:59) ... 66 more 00000020 WebApp E -: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: CRJAZ1173I Service "com.ibm.team.repository.service.internal.IExternalUserRegistryRestService" is not available. at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:538) at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:994) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleException(AbstractTeamServerServlet.java:1075) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleException(AbstractTeamServerServlet.java:1064) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1320) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102) at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) Thank you very much in advance for your time and help. Chris |
I found the Jazz.log and here are three errors that I am seeing:
javax.naming.NameNotFoundException: Name "GlobalUserDatabase" not found in context "java:comp/env". and com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0797I Unable to lookup Tomcat user database. and java.lang.RuntimeException: CRJAZ0710I Failed to get the registry provider for user import. Check the server configuration and verify the property "user.registry.type". |
Hi ,
I am seeing the exact same behaviour. What is the solution? Thanks! Anu |
I got this fixed once I pointed my server to a different LDAP server.
I am yet to figure out why one worked and why the other did not. |
Could it have been a difference in the roles that AD server was performing perhaps? For examples, there differences in the boxes was that one was a GC, or perhaps fullfiling the PDC role?
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.