Unable to Load /ccm/web/_js/.. Status 500' error when using Custom Value Providers

Technote (troubleshooting)


Problem(Abstract)

Attempts to use a custom value provider in IBM Rational Team Concert results in the error "Unable to Load /ccm/web/_js/.. Status 500".

Symptom

The following symptoms include:

  • A custom attribute is configured to use a calculated Value provider
  • You do not have any problem using the calculated value provider in Rational Team Concert version 2.x
  • The error is observed when using the calculated value provider attribute in Rational Team Concert version 3.x and 4.x
  • The error occurs when you create a new work item and try to modify the value of some attributes that the calculated value provider depends on

Error Message in the Web client:



Error: Unable to load /ccm/web
/_js/?exclude=1~4~BN~BO~BP~F~G~H~I~J~K~L~M~N~O~P~Q~R~S~X~Z~a~b~c~d~e~f~g~m~n&include=com.ibm.team.workitem.valueproviders.calBusVal.js&_proxyURL=%2Fccm&locale=en-us
Status: 500


Error Message in ccm.log:

[        http-9443-Processor978] ERROR net.jazz.ajax.servlets.JavascriptServlet            - GET https://<RTC_SERVER>:9443/ccm/web/_js/?exclude=1~4~BN~BO~BP~F~G~H~I~J~K~L~M~N~O~P~Q~R~S~X~Z~a~b~c~d~e~f~g~m~n&include=com.ibm.team.workitem.valueproviders.calBusVal.js&_proxyURL=%2Fccm&locale=en-usHEADER: host =<RTC_SERVER>:9443

HEADER: user-agent = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110614 Firefox/3.6.18 (.NET CLR 3.5.30729)
HEADER: accept = text/javascript
HEADER: accept-language = en-us,en;q=0.5
HEADER: accept-encoding = gzip,deflate
HEADER: accept-charset = ISO-8859-1,utf-8;q=0.7,*;q=0.7
HEADER: keep-alive = 115
HEADER: connection = keep-alive
HEADER: content-type = application/x-www-form-urlencoded
HEADER: x-requested-with = XMLHttpRequest
HEADER: referer = https://<RTC_SERVER>:9443/ccm/web/projects/31887%2C227%2C000_customValueProvider_3
...
java.lang.IllegalArgumentException: Resource does not exist: com.ibm.team.workitem.valueproviders.calBusVal.js

Cause

The 'Enable Process Attachment Scripts' setting in the IBM Rational Change and Configuration Management Application Administration Advanced Properties is not enabled.


Resolving the problem

There is a setting called 'Enable Process Attachment Script' which needs to be turned on in order to use scripts for attribute customization. Below are the steps to turn on the setting. These steps are extracted from the jazz.net article, Attribute Customization: Using Scripts for Attribute Customization .


Using Script for Attribute Customization:
To use scripts deployed as process attachments, you need to enable this functionality:

  1. Go to administrative page of the Change and Configuration Management Application server https://your.server.name:9443/ccm/admin.
  2. Open the Server tab.
  3. From the left side-bar open Configuration -> Advanced Properties
  4. In the Work Item Component, find the 'Enable Process Attachment Scripts' property and set its value to true.

Alternatively you can add the following line to teamserver.properties:

# Allow to use scripts deployed as process attachments
com.ibm.team.workitem.process.scripts.enabled=true

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Team Concert
Work Items

Software version:

3.0, 3.0.1, 3.0.1.1, 3.0.1.2, 3.0.1.3, 3.0.1.4, 3.0.1.5, 3.0.1.6, 4.0, 4.0.0.1, 4.0.1, 4.0.2, 4.0.3, 4.0.4

Operating system(s):

AIX, Linux, Solaris, Windows

Reference #:

1508875

Modified date:

2013-10-02

Translate my page

Machine Translation

Content navigation