Magnolia 4.5 reached end of life on June 30, 2016. This branch is no longer supported, see End-of-life policy.
Magnolia CRX Connector module is an implementation of the provider interface of Magnolia EE which enables it to use Content Repository Extreme (CRX) as a data source.
CRX is a commercial repository implementation by Day Software AG. For more information see CRX - Content Application Platform.
Download the CRX Connector module from Nexus repository.
CRX Connector is an enterprise module. To install the module:
magnolia-crx-VERSION.jar
to WEB-INF/lib
See the general module uninstalling instructions and advice.
Modify WEB-INF/config/default/repositories.xml to use magnolia-CRX provider.
<!-- magnolia default repository --> <Repository name="magnolia" provider="info.magnolia.crx.ProviderImpl" loadOnStartup="true"> ....... <param name="contextFactoryClass" value="com.day.util.jndi.provider.MemoryInitialContextFactory" /> <param name="providerURL" value="http://jcr.day.com" /> <param name="bindName" value="crx" /> <workspace name="website" /> <workspace name="config" /> <workspace name="users" /> <workspace name="userroles" /> ....... </Repository>
*As you can see you need to configure :*
If you are sharing single CRX instance to host multiple magnolia repositories you need to configure unique workspace name across all instances.
To do so, configure in repositories.xml
You can share single repository between any number of "unrelated" magnolia instances. Its not possible to share single repository for Author and Public or any other stages in between.
<RepositoryMapping> <Map name="website" repositoryName="magnolia" workspaceName="legalWebsite" /> <Map name="config" repositoryName="magnolia" workspaceName="legalConfig" /> ... </RepositoryMapping> <!-- magnolia default repository --> <Repository name="magnolia" provider="info.magnolia.crx.ProviderImpl" loadOnStartup="true"> ....... <workspace name="legalWebsite" /> <workspace name="legalConfig" /> <workspace name="legalUsers" /> <workspace name="legalUserroles" /> ....... </Repository>