How To Drop an Existing Cache From a Command Line Utility (Doc ID 1903512.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle Coherence - Version 12.1.2.0.1 and later
Information in this document applies to any platform.

Goal

Both the Coherence Query (CohQL) command line interface (query.sh / query.cmd utility under <COHERENCE_HOME>/bin) and the Coherence Console command line interface can be used to drop/destroy caches , but neither command returns the result of the operation so it is hard to know if the command has been successful. Although dropping/destroying caches is an uncommon task in production environments it is usual in development environments.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms