1-9 - Failed to read and write registry service cache
Possible Reason
- Multiple Dubbo processes (or other Java processes) use the same cache file.
- Due to the file system permission problem of the directory where the cache file is located, reading and writing fails.
- The value of
dubbo.registry.file
is entered incorrectly. - Accidentally specify two registries to use the same file store.
Hint:
If dubbo.registry.file
is not specified, the registry service cache path defaults to the ~/.dubbo
directory
(where ~
is the user’s HOME directory)
Troubleshooting and resolution steps
- Check the value of
dubbo.registry.file
for typos. - Check whether other processes use the same cache file.
- If
dubbo.registry.file
is specified, check its permissions in the file system. - Check whether the situation of “two registration centers use the same file storage” occurs, and adjust if it occurs.
see also
Reference Manual for Registry Configuration Items