|License Type||SaaS & On-Premise|
|Agent Mode||Assess & Protect|
|Main Product Category||Java Agent|
java.io.IOException: Can't promise read/write on cache dir, error when starting up
This means that you don't have read/write access to the cache directory.
The cache directory is located in the contrast directory, and has permissions 755 by default. If the location of the contrast directory has been modified with the
contrast.dir property, the cache directory has also moved consequently. You must update the permissions to the cache directory.
More information on configuring the contrast directory can be found in our Java docs.