It's all about the answers!

Ask a question

Import users via tomcat-users file?


Tim Feeney (30745745) | asked Apr 22 '08, 12:26 p.m.
JAZZ DEVELOPER
I want to add several users to the repository. I tried to add them directly to the tomcat-users file but RTC doesn't pick them up. If using the Tomcat realm, is there an easy way to bulk import several new users?

6 answers



permanent link
Kai-Uwe Maetzel (85611) | answered Apr 22 '08, 1:44 p.m.
JAZZ DEVELOPER
In the RTC client, select a repository connection and choose 'New >
users' from the context menu. If your server runs tomcat this will offer
you the option in import users.

Kai
Jazz Process Team

tfeeney wrote:
I want to add several users to the repository. I tried to add them
directly to the tomcat-users file but RTC doesn't pick them up. If
using the Tomcat realm, is there an easy way to bulk import several
new users?

permanent link
Tim Feeney (30745745) | answered Apr 25 '08, 11:09 a.m.
JAZZ DEVELOPER
Tried this but it gave me an error since the entry in the tomcat-users file did not contain an email address. I need to find out the syntax for including that in an entry.


In the RTC client, select a repository connection and choose 'New >
users' from the context menu. If your server runs tomcat this will offer
you the option in import users.

Kai
Jazz Process Team

tfeeney wrote:
I want to add several users to the repository. I tried to add them
directly to the tomcat-users file but RTC doesn't pick them up. If
using the Tomcat realm, is there an easy way to bulk import several
new users?

permanent link
Darin Swanson (3161) | answered Apr 25 '08, 11:34 a.m.
tomcat-users.xml does not allow for the specification of an email address.
The imported users will have all of the email addresses set to "unknown" on
the latest RTC client.

Darins
Jazz Process Team

"tfeeney" <tfeeney> wrote in message
news:fussn6$49u$1@localhost.localdomain...
Tried this but it gave me an error since the entry in the tomcat-users
file did not contain an email address. I need to find out the syntax
for including that in an entry.


kmaetzelwrote:
In the RTC client, select a repository connection and choose 'New

users' from the context menu. If your server runs tomcat this will
offer
you the option in import users.

Kai
Jazz Process Team

tfeeney wrote:
I want to add several users to the repository. I tried to add them
directly to the tomcat-users file but RTC doesn't pick them up. If
using the Tomcat realm, is there an easy way to bulk import several
new users?


permanent link
Tim Feeney (30745745) | answered Apr 25 '08, 12:01 p.m.
JAZZ DEVELOPER
Understood but RTC is complaining about no address being provided when importing.

I added the following entry to my tomcat-users file
<user>

I then started the server, then RTC and opened a team area. I clicked Create then Import existing users. After selecting the new user, I got an error message saying "Contributor Email address must not be null". The new user was not added. I'm using M6a.

Tim

tomcat-users.xml does not allow for the specification of an email address.
The imported users will have all of the email addresses set to "unknown" on
the latest RTC client.

Darins
Jazz Process Team

"tfeeney" <tfeeney> wrote in message
news:fussn6$49u$1@localhost.localdomain...
Tried this but it gave me an error since the entry in the tomcat-users
file did not contain an email address. I need to find out the syntax
for including that in an entry.


kmaetzelwrote:
In the RTC client, select a repository connection and choose 'New

users' from the context menu. If your server runs tomcat this will
offer
you the option in import users.

Kai
Jazz Process Team

tfeeney wrote:
I want to add several users to the repository. I tried to add them
directly to the tomcat-users file but RTC doesn't pick them up. If
using the Tomcat realm, is there an easy way to bulk import several
new users?


permanent link
Tim Feeney (30745745) | answered Apr 25 '08, 12:05 p.m.
JAZZ DEVELOPER
For some reason, the post is not capturing the tomcat-users entry right. Suffice to say, the entry is not malformed.

Understood but RTC is complaining about no address being provided when importing.

I added the following entry to my tomcat-users file
<user>

I then started the server, then RTC and opened a team area. I clicked Create then Import existing users. After selecting the new user, I got an error message saying "Contributor Email address must not be null". The new user was not added. I'm using M6a.

Tim

tomcat-users.xml does not allow for the specification of an email address.
The imported users will have all of the email addresses set to "unknown" on
the latest RTC client.

Darins
Jazz Process Team

"tfeeney" <tfeeney> wrote in message
news:fussn6$49u$1@localhost.localdomain...
Tried this but it gave me an error since the entry in the tomcat-users
file did not contain an email address. I need to find out the syntax
for including that in an entry.


kmaetzelwrote:
In the RTC client, select a repository connection and choose 'New

users' from the context menu. If your server runs tomcat this will
offer
you the option in import users.

Kai
Jazz Process Team

tfeeney wrote:
I want to add several users to the repository. I tried to add them
directly to the tomcat-users file but RTC doesn't pick them up. If
using the Tomcat realm, is there an easy way to bulk import several
new users?


permanent link
Sudhakar Frederick (80113631) | answered Apr 28 '08, 3:34 a.m.
JAZZ DEVELOPER
Hi Tim

Here's what I had to do:
1. Add the users to the tomcat-users file, without e-mail addresses.
2. Fire up the Server.
3. Connect with RTC to the server as ADMIN
4. Right click the *Repository Connection* (Not Team Area) and click New->User.
At this point it gives you the "Imort user?" dialog where you click Yes, type in a few chars from the user name, click search, select and OK.

Once this is done I added them to the Team Areas.

I did get the same error as you did when trying to "import" to a Team Area. that seems broken.

Cheers
Freddy

Your answer


Register or 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.