Skip to main content

Adding new users results in "This user was not found in the directory service..." error


Technote (troubleshooting)


Problem(Abstract)

Attempts to add users in IBM Rational Jazz Team Server (JTS) Administration console results in error
"This user was not found in the directory service." error.

Symptom

If your JTS is associated with a Tomcat server and you have upgraded from IBM Rational Configuration Lifecycle Management (CLM) version 3.x to version 4.x, you get the following symptoms:

  1. The errorr This user was not found in the directory service. This user will not be able to login unless they have an account in the directory service. ID CRJAZ1532I" when adding new user to JTS.
  2. The following message can be found in the Tomcat log (tomcat.log) :
    "org.apache.catalina.users.MemoryUserDatabase save
    SEVERE: User database has been configured to be read only. Changes cannot be saved"


Cause

After migration from CLM 3.x to 4.x when using Tomcat 7 a read-only flag is set to true by default in the Resource name="UserDatabase" section in server.xml file.

Environment

CLM 4.x, Tomcat 7

Resolving the problem

Change the read-only setting in the server.xml file:

  1. Open server.xml file
  2. Replace following section:
    <Resource name="UserDatabase"
                   auth="Container"
                   type="org.apache.catalina.UserDatabase"
                   description="User database that can be updated and saved"factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                   pathname="conf/tomcat-users.xml" />


    by adding readonly="false" parameter:

    <Resource name="UserDatabase"
                   auth="Container"
                   type="org.apache.catalina.UserDatabase"
                   description="User database that can be updated and saved"factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                   pathname="conf/tomcat-users.xml"
                   readonly="false" />
  3. Save and close the file
  4. Restart your JTS server

Related information

Users losing repository permissions

Cross reference information
Segment Product Component Platform Version Edition
Software Development Rational Quality Manager Linux, Windows 4.0, 4.0.0.1 Standard, Express
Software Development Rational Requirements Composer Web App Server Windows, Linux 4.0, 4.0.0.1 All Editions

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational Team Concert

Web App Server


Software version:
4.0, 4.0.0.1


Operating system(s):
Linux, Windows


Reference #:
1614332


Modified date:
2012-12-09

Translate my page

Content navigation