JCR-2145: Cannot write init configuration to RegistryService

https://jira.exoplatform.org/browse/JCR-2145