Retrieval of the Resource Registry (RR) provider fails after rolling back JazzSM from version 1.1.0.1 to 1.1.0.0

Technote (troubleshooting)


Problem(Abstract)


After rolling back Jazz for Service Management version 1.1.0.1 to 1.1.0.0, the retrieval of the Resource Registry (RR) provider fails with an HTTP status code 500 and a NullPointerException.

Symptom

After rolling back from Jazz for Service Management version 1.1.0.1 to 1.1.0.0, the subsequent HTTP GET request to the Resource Registry (http://oslc-registry/oslc/rr) or to the Service Provider record collection (http://oslc-registry/oslc/pr/collection) fails with an HTTP status code 500 and the following error message:

CTJFL0101E The incoming request from the IP requester_ip_address did not end successfully. The Registry Services application found an internal error while processing the Service Provider query request for the given parameters: "http://oslc-registry/oslc/pr/collection". The specific reason for this error is: null.


Cause

This problem only occurs when the application server is restarted after the Registry Services database is rolled back.

At 1.1.0.1 version, when the application restarts, it always adds dcterms:modified properties to the RR Service Provider record. After the application is rolled back, Jazz for Service Management version 1.1.0.0 does not understand the dcterms:modified properties. Therefore, the application fails to return the RR Service Provider that contains these properties with the following error in the application server log file:

CTJFL0101E The incoming request from the IP requester_ip_address did not end successfully. The Registry Services application found an internal error while processing the Service Provider query request for the given parameters: "http://oslc-registry/oslc/pr/collection". The specific reason for this error is: null.
                                 java.lang.NullPointerException
    at com.ibm.frs.model.oslc.ServiceProviderUtil.mountServiceProviderFromRdfStatements(ServiceProviderUtil.java:1250)
    at com.ibm.frs.model.oslc.ServiceProviderUtil.getServiceProvider(ServiceProviderUtil.java:193)
    at com.ibm.frs.model.oslc.ServiceProviderUtil.getServiceProviders(ServiceProviderUtil.java:2036)
    at com.ibm.frs.oslc.web.OslcPrServiceJ.queryProvidersByMediaType(OslcPrServiceJ.java:606)
    at com.ibm.frs.oslc.web.OslcPrServiceJ.queryProviders(OslcPrServiceJ.java:507)

Environment

All supported Jazz for Service Management middleware and operating system platforms.

Diagnosing the problem

Roll back Jazz for Service Management from 1.1.0.1 to 1.1.0.0. Then, send an HTTP GET request to retrieve the Resource Registry (RR) provider.

For example, GET http://oslc-registry/oslc/pr/collection

Registry Services returns an HTTP status code 500 (INTERNAL SERVER ERROR) and a CTJFL0101E error message. The application also logs a NullPointerException in the application server log file.

Resolving the problem

The solution for this defect is available in the 1.1.0-TIV-JazzSM-Registry-multi-FP002 package.

Ensure that you have the Registry Services Fix Pack 1.1.0.2 version or later installed in your environment.

For more information, see the APAR IV48121.

Workaround:

1) Update the Registry Services database to 1.1.0.1. Then, roll back this database to 1.1.0.0.

Related information

Retrieving the Resource Record description

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Tivoli Components
Jazz for Service Management

Software version:

1.1

Operating system(s):

AIX, Linux, Windows

Reference #:

1649784

Modified date:

2014-08-11

Translate my page

Machine Translation

Content navigation