Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

M6: Users didn't upgrade correctly

After migrating to M6 from M5 I could only login as the ADMIN user both from the eclipse client and WEBUI. This is a fresh server installed on M5 (had not been previously migrated). We are using DB2 as a backend and Tomcat for the server. We did implement the "Manage Jazz Security" steps in the /JazzTeamServer-1.0M5/jazz/server/index.html file to ensure secure access only.

Tried to follow the tip from a previous post where it was recommended to add Jazz roles to the previous users from the admin UI, but got this error on the UI:
Error fetching user data from the user registry. Please check your registry configuration.

Bad Request

Also got this in the tomcat.log on the server:
22:33:11,562 WARN .team.repository.servlet.AbstractTeam
ServerServlet - UnknownUserException processing GET request for com.ibm.team.pr
ocess.internal.common.service.IProcessRestService.getContributorByUUID(). The re
quest was made by user "ADMIN" from "9.67.90.142". The stacktrace hash is B6BE5C
18CEB4E6076BAE847AD2B928472E5F8328.
com.ibm.team.repository.common.UnknownUserException: mmallo
at com.ibm.team.repository.service.internal.userregistry.TomcatUserRegis
try.findUser(TomcatUserRegistry.java:128)
at com.ibm.team.repository.service.internal.userregistry.TomcatUserRegis
try.fetchGroupsForUser(TomcatUserRegistry.java:143)
at com.ibm.team.repository.service.internal.userregistry.ExternalUserReg
istryService.fetchGroupsForUser(ExternalUserRegistryService.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)

FYI
I continue through with the new M6 setup screens at https://localhost:9443/jazz/setup and created a new test user that could access jazz fine, but still the previous users were not able to log in.

0 votes



4 answers

Permanent link
I ran into the same problem, and created https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=50719

Please add a comment with your specific situation.

0 votes


Permanent link
What type of authentication are you using ? simple tomcat-users.xml or
LDAP. The users you are trying to login must be present in the external user
registry.

You can configure your external user registry through the Jazz setup wizard
(https://localhost:9443/jazz/setup)

---- Balaji

"mmallo5" <mmallo@us.ibm-dot-com.no-spam.invalid> wrote in message
news:ftk3qn$td8$1@localhost.localdomain...
After migrating to M6 from M5 I could only login as the ADMIN user
both from the eclipse client and WEBUI. This is a fresh server
installed on M5 (had not been previously migrated). We are using DB2
as a backend and Tomcat for the server. We did implement the
"Manage Jazz Security" steps in the
/JazzTeamServer-1.0M5/jazz/server/index.html file to ensure secure
access only.

Tried to follow the tip from a previous post where it was recommended
to add Jazz roles to the previous users from the admin UI, but got
this error on the UI:
Error fetching user data from the user registry. Please check your
registry configuration.

Bad Request

Also got this in the tomcat.log on the server:
22:33:11,562 WARN
team.repository.servlet.AbstractTeam
ServerServlet - UnknownUserException processing GET request for
com.ibm.team.pr
ocess.internal.common.service.IProcessRestService.getContributorByUUID().
The re
quest was made by user "ADMIN" from "9.67.90.142".
The stacktrace hash is B6BE5C
18CEB4E6076BAE847AD2B928472E5F8328.
com.ibm.team.repository.common.UnknownUserException: mmallo
at
com.ibm.team.repository.service.internal.userregistry.TomcatUserRegis
try.findUser(TomcatUserRegistry.java:128)
at
com.ibm.team.repository.service.internal.userregistry.TomcatUserRegis
try.fetchGroupsForUser(TomcatUserRegistry.java:143)
at
com.ibm.team.repository.service.internal.userregistry.ExternalUserReg
istryService.fetchGroupsForUser(ExternalUserRegistryService.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)

FYI
I continue through with the new M6 setup screens at
https://localhost:9443/jazz/setup and created a new test user that
could access jazz fine, but still the previous users were not able to
log in.

0 votes


Permanent link
We haven't setup LDAP for user authentication, so we must be using simple tomcat-users.xml.

Is there a migration step missing from the upgrade steps to migrate tomcat users?

0 votes


Permanent link
Resolved this one!

You need to copy the file <install_dir>/jazz/server/tomcat/conf/tomcat-users.xml from your M5 server to your M6 server location and it works.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 10 '08, 12:01 a.m.

Question was seen: 7,366 times

Last updated: Apr 10 '08, 12:01 a.m.

Confirmation Cancel Confirm