Service Failing Error related to ContentService

Technote (troubleshooting)


Problem(Abstract)

Attempts utilize any functionality in IBM Rational Team Concert results in a service failing error related to the ContentService.

Symptom

When trying to save configuration changes, such as Project Area configuration, or utilize any other functionality in Rational Team Concert, the following error will be seen in the jazz.log file:

CRJAZ0098I The service "com.ibm.team.repository.common.transport.IDirectWritingContentService{/jazz/service com.ibm.team.repository.common.transport.IDirectWritingContentService}" failed. The server returned the http error 400 with error text "Bad Request". Examine any further details here or look in the server log files for more information on how to resolve the issue.      

This behaviour may also resonate in the form of the following error:
CRJAZ1092I The service class                                            

"com.ibm.team.repository.service.internal.ContentService" failed during
activation.                                                            
.... Caused by: java.lang.RuntimeException: CRJAZ0889I Error initializing content service; could not create the temporary directory "..jazz/server/tmp/contentservice".

This may correspond to the following error in the WebSphere Application server log file:
[ WebContainer : 4179] ERROR com.ibm.team.repository - Error retrieving the files present in the content temp directory "/webdata/logs/was61/appsrv/rtc/tmp/contentservice/unclaimed"

Cause

IContentService is an interface class which stores content in a two step process.

This requires the temporary directory <directory>/tmp/contentservice.
If the temporary directory folder is removed, the two step process of storing content cannot be completed.


Environment

Rational Team Concert using WebSphere Application Server

Resolving the problem

To ensure this folder is present and correctly utilized by the IContentService, the following steps should be applied:

  1. Create the temporary directories and set the configuration variables in <jazz install directory>/server/conf/jazz/teamserver.properties to point to those directories:
    • com.ibm.team.repository.tmpdir=/jazz_tmp/repository
    • com.ibm.team.scm.vcs.tmpdir=/jazz_tmp/vcs
    • com.ibm.team.scm.tmpdir=/jazz_tmp/scm

  2. Verify that the operating system users have full read/write permissions to the above temporary directories.

  3. Ensure that there is a folder in the following directory (as listed in the error):

    <websphere install directory> ../webdata/logs/<WAS Version>/appsrv/<RTC Application Name>/tmp/contentservice/unclaimed

Leverage the Jazz Community

Jazz and Rational Team Concert have an active community that can provide you with additional resources. Browse and contribute to the User forums, contribute to the Team Blog and review the Team wiki.
Refer to technote 1319600 for details and links.


Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Team Concert
Repository

Software version:

2.0.0.2, 3.0, 3.0.1, 3.0.1.1, 3.0.1.2, 3.0.1.3, 4.0, 4.0.0.1, 4.0.0.2, 4.0.1, 4.0.2

Operating system(s):

Linux, Windows

Reference #:

1447680

Modified date:

2013-04-25

Translate my page

Machine Translation

Content navigation