Can't create Example project in AD/LDAP/Oracle
The Team Concert example project can't be created becuase hte user registry does not allow creating new users. I am in a all-in-one env on my laptop with AD/WAS7 installed locally as well. I got the above error when trying to create the JUnit Example project. Is there a workaround? Thanks Jirong |
8 answers
Ralph Schoon (63.7k●3●36●48)
| answered Aug 08 '11, 4:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please create the users in your user registry and then create the sample project. A small test system on tomcat would allow you to identify the required users and their ID's.
|
Please create the users in your user registry and then create the sample project. A small test system on tomcat would allow you to identify the required users and their ID's. I've created all users below in my local AD and imported them into RTC, still getting the exact same error message. I even restarted WAS. What else shall I do? http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.concert.doc/topics/tut_junit_intro.html Build build / build Special user for running the builds Freddy Freund freddy / freddy Jason Mitchell jason / jason JUnit team member. A number of work items are assigned to Jason. Jennifer Ginness jennifer / jennifer Markus Kent markus / markus JUnit team member. A number of work items are assigned to Markus. Marlene Stamp marlene / marlene Rick Yuen rick / rick |
Ralph Schoon (63.7k●3●36●48)
| answered Aug 11 '11, 8:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
not sure. i have to try with LDAP myself. The issue is that LDAP does not allow RTC to create the users and maybe RTC does not look for them. Alternatively you could create the sample app before switching to LDAP. I will try to setup with LDAP and verify. Then create a work item. |
Ralph Schoon (63.7k●3●36●48)
| answered Aug 11 '11, 12:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I just tried (with tomcat) but for the CLM Sample application. I had the users in LDAP already and added them to the user list in JTS before I ran the creation. The admin user was an admin user and had all required licenses applied (the wizard mentions that). All went well.
|
Ralph Schoon (63.7k●3●36●48)
| answered Aug 11 '11, 12:26 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The JUnit Example setup does not work because of the user registry.
I would switch to tomcat without LDAP, create the examples, switch back to WAS and LDAP. Please note the sample projects are only suggested for Test Repositories. |
Ralph Schoon (63.7k●3●36●48)
| answered Aug 11 '11, 12:29 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As an afterthought, the "Money That Matters" sample in https://<server>:<port>/admin/web#/sample is also more complete. It worked with LDAP as mentioned above.
|
Hi Ralph. How does one "switch to tomcat without LDAP"? Can we rerun the front part of jts/setup where we setup the user registry? Or is there a way to set the server's Advanced Properties. Thanks.
The JUnit Example setup does not work because of the user registry. |
Ralph Schoon (63.7k●3●36●48)
| answered Mar 27 '12, 3:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Harry,
I am not sure why you want to do that. The issue is, you need a valid tomcat-users.xml file. You need at least one administrative user that can log in. (I think you should be able to just edit the file, but I am not sure if you can just put in a blank password. You could try). Since I am not sure, this is what I would do for a complete move from LDAP to Tomcat: 1. Set up a test server on tomcat without LDAP similar to your current one with some administrative user that matches the admin users you use with LDAP. 2. Export the users from the current server with repotools. 3. Import the users into your experimental server 4. Back up the resulting tomcat-users.xml. 5. Look into the teamserver.properties file(s) and compare them to your current one. 6. Shut down the current server 7 Back up your teamserver.properties file and comment out the LDAP settings. I think com.ibm.team.repository.user.registry.type=DETECT does the trick and needs to be in the properties file. 8 Place the tomcat-users.xml into the Tomcat/conf folder of your server. 9. Bring up the server To switch back you would replace the manipulated teamserver.properties files with your backup and bring up the server. If you just want to deploy the example, I would suggest to rather use the money that matters sample in a test server. You can always start with a tomcat/non LDAP test server. If you use LDAP and actually want to log in with the different users of the sample you would have to add them to LDAP. |
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.