How to config multi-Repositories in one Alfresco instance ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 03:59 AM
How to config multi-Repositories in one Alfresco instance ?
such as in ' alfresco-global.properties' , I can config multi-Repositories locations:
And I can manage all these Repositories in this Alfesco instance.
Benefit:
1) I can increase my storage capacity anytime.
2) improve search&index performance as there are many different Storage hard disk.
such as in ' alfresco-global.properties' , I can config multi-Repositories locations:
dir1.root=\\server1\driver1\alf_data…dir2.root=\\server1\driver2\alf_data…dir3.root=\\server2\driver1\alf_data
And I can manage all these Repositories in this Alfesco instance.
Benefit:
1) I can increase my storage capacity anytime.
2) improve search&index performance as there are many different Storage hard disk.
Labels:
- Labels:
-
Archive
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 08:55 AM
Same question & some asnwers on StackOverflow: http://stackoverflow.com/questions/19291497/how-to-config-multi-repositories-in-one-alfresco-instanc...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2013 02:31 AM
they all submitted by me.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2013 08:55 AM
Its not correct to talk of multiple repositories. A single repository contains many "Stores". So an Alfresco repository (always one) contains a set of stores. Its the different stores that can have their own roots.
On Alfresco Enterprise you can use the content store selector to change which store to use. AFAIK its Enterprise Only.
On Alfresco Community you can configure mutiple content stores through spring.
On Alfresco Enterprise you can use the content store selector to change which store to use. AFAIK its Enterprise Only.
On Alfresco Community you can configure mutiple content stores through spring.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2013 03:09 AM
if it's true, how to config it in Community edition?
Spring ? I couldn't find any threads on the Wiki and other official documents site.
And I found since Alfresco 3.x version, the feature was enabled, but still only Enterprise edition.
If any Community editions of Alfresco does not support this ,please tell me definitely.
Spring ? I couldn't find any threads on the Wiki and other official documents site.
And I found since Alfresco 3.x version, the feature was enabled, but still only Enterprise edition.
If any Community editions of Alfresco does not support this ,please tell me definitely.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2013 09:22 AM
On Enterprise its the cm:storeSelector aspect. Its an Enterprise only enhancement as is the code that that makes it easy to switch content between different content stores.
But out of the box both Enterprise and Community there are at least 4 content stores defined, more if you use AVM. Look at the definition of the Spaces Store.
But out of the box both Enterprise and Community there are at least 4 content stores defined, more if you use AVM. Look at the definition of the Spaces Store.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2013 10:31 PM
Hi Morgers,
Do you mean that Community edition also support 4 content stores too ? but I tried ,it failed ,and tomcat logs looks that:
Can you provide some detail support ? please don't only provide some text announcement
Do you mean that Community edition also support 4 content stores too ? but I tried ,it failed ,and tomcat logs looks that:
2013-10-11 16:27:32,061 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default] 2013-10-11 16:27:32,092 ERROR [web.context.ContextLoader] [localhost-startStop-1] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'contentService' while setting bean property 'contentService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentService' defined in file [E:\Alfresco\Alfresco42a\tomcat\shared\classes\alfresco\extension\content-store-selector-context.xml]: Cannot resolve reference to bean 'storeSelectorContentStore' while setting bean property 'store'; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'storeSelectorContentStore' defined in file [E:\Alfresco\Alfresco42a\tomcat\shared\classes\alfresco\extension\content-store-selector-context.xml]: Could not resolve parent bean definition 'storeSelectorContentStoreBase'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'storeSelectorContentStoreBase' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
Can you provide some detail support ? please don't only provide some text announcement

