Apache Derby DB Error Code XBCXR – Cannot re-encrypt a read-only database with a new boot passw

In this blog post, let’s learn about the error message “XBCXR- Cannot re-encrypt a read-only database with a new boot passw” in Apache Derby Database and the description of the error.

Error Message

XBCXR- Cannot re-encrypt a read-only database with a new boot passw

Error Details

Cannot re-encrypt a read-only database with a new boot password or an external encryption key .