Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
Multiple public instances are useful when you want to:
You must have a Magnolia Enterprise license to be able to configure multiple working public instances.
The simplest way is to create a new public instance is to copy an existing one.
Before you do this, back up the
webapps folder and the database. There is always the risk of corrupting the existing instance.
magnoliaPublic. If you use an external database such as MySQL, copy the database folder too.magnoliaPublic2.cache contains cached entries of the original instance.logs contains log entries of the original instance. Empty log files will be recreated during server startup.index subfolders in each /repositories/magnolia/workspaces/* folder. Deleting the subfolders reindexes the repositories. The rest of the repositories folders should remain intact.tmp is a temporary folder which Tomcat or Jackrabbit uses for its processes during export/import.docroot contains the Tomcat docBase static resources.META-INFtemplates contains static resources.WEB-INF/webapps/magnoliaPublic2/WEB-INF/config/repo-conf. Each database has a file of its own, edit the file that you have configured in magnolia.properties in the magnolia.repositories.jackrabbit.config parameter. For example, if you use MySQL then edit jackrabbit-bundle-mysql-search.xml. workspace section and once for the versioning section in the XML file. /<contextPath>/repositories/magnolia/workspaces/<workspace>/workspace.xml.Node name | Value |
|---|---|
| true | |
| true | |
Other ways to create new public instances:
cloneInstanceCommand.