Question & Answer
Question
I encounter error "DGL5025A: Cannot store data into the resource manager. ICM9804: The security token supplied with order store was invalid. [RM RC = 9804, HTTP RC = 204: No Content]", but my resource manager and library server appear to be configured correctly. What do I need to do?
Answer
This means that the token is invalid. A few common problems cause the token to be invalid. Here's what you can check:
Verify date, time, and year settings on all machines: Double check the full date and time on the machine running the library server and the machine running the resource manager. If the year is different, you will get an invalid token. They must be similar, but do not have to be exact.
Verify that token duration is reasonable (in seconds): Your resource manager definition objects have a Token Duration property. Setting it to 0 through the API means that it will never expire, but it really should be set to something reasonable. Most importantly, make sure that this value is large enough. Try a value in the 300000 range if you are using a slower machine. Open the system administration client that comes with both DB2 Content Manager and DB2 Information Integrator for Content. Select Resource Managers, and view the properties of the resource manager definition object that you are using in your item type. Update the values if necessary.
Verify that the resource manager user ID is correct in definition object: Verify that the resource manager definition object has the correct user ID for that resource manager. This is often RMADMIN or ICMADMIN. Double check the resource manager server and compare that to the setting in the resource manager definition object. Open the system administration client that comes with both DB2 Content Manager and DB2 Information Integrator for Content. Select Resource Managers, and view the properties of the resource manager definition object that you are using in your item type. Update the values if necessary.
Verify that the item type is using the correct resource manager, by default: Verify that you are in fact using the resource manager. Open the system administration client that comes with both DB2 Content Manager and DB2 Information Integrator for Content. View your item type's properties and ensure that the desired resource manager definition object is selected. Update the values if necessary.
Related samples
The following samples are installed with the product.
Resource Manager Definitions
SResourceMgrDefCreationICM
SResourceMgrDefDeletionICM
SResourceMgrDefRetrievalICM
SResourceMgrDefSetDefaultICM
SMS Collection Definitions
SSMSCollectionDefCreationICM
SSMSCollectionDefDeletionICM
SSMSCollectionDefRetrievalICM
SSMSCollectionDefSetDefaultICM
Resource Items
SResourceItemCreationICM
SResourceItemDeletionICM
SResourceItemRetrievalICM
SResourceItemUpdateICM
Was this topic helpful?
Document Information
Modified date:
06 July 2019
UID
swg21064446