You can invoke the Cache Invalidator Client from a command shell like this:
java -Datg.adapter.gsa.invalidator.uri=
rmi://{yourhost
}:8860/atg/dynamo/service/GSAInvalidatorService
atg.adapter.gsa.invalidator.GSAInvalidatorClient /{repositoryPath
}
[itemDescriptorName
] [repositoryItemId
]
The {repositoryPath
} required parameter is the Nucleus address of the GSARepository
component. You can optionally specify the [itemDescriptorName
] parameter to invalidate only cached items of that item type. You can optionally specify the [repositoryItemId
] parameter to invalidate only the specified repository item.
The Cache Invalidator action is initiated by performing a RMI call to the GSAInvalidatorService.invalidate()
method. The RMI call is made by executing the GSA Invalidator Client, passing as arguments:
| the Nucleus path of the SQL repository (required) | If this is the only argument, then the cache is invalidated for the entire repository. |
| item descriptor name (optional) | Invalidates all items of this item type. |
| item ID (optional) | Invalidates a specific item from the repository. |
You can enable additional debugging messages by setting the property loggingDebug=true
in the following components:
/atg/dynamo/service/GSAInvalidatorService
(for producer or message source debugging)/atg/dynamo/service/GSAInvalidationReceiver
(for consumer or message sink debugging)