cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration a network share for storing User generated content

maverick
Champ in-the-making
Champ in-the-making
Hi,
I want to configure a NAS share as storage for user generated content in Alfresco.
I tried to change $TOMCAT_HOME/shared/classes/alfresco-global.properties file (dir.root in particular) but it doesn't work, rather if I set dir.root to NAS share (mapped as Y:\ drive), login to Admin console starts failing.

I will appreciate any inputs on how to achieve this.

Thanks,

3 REPLIES 3

maverick
Champ in-the-making
Champ in-the-making
I am still not able to find a resolution to this problem.
Basically I want to move alf_data folder to a network file system. Currently its in the Alfresco install directory: C:/Alfresco/alf_data.

Everytime I try to modify 'dir.root' parameter in C:/Alfresco/tomct/shared/classes/alfresco-global.properties file to remote files system as X:/alf_data. It start giving me errors. 
Is it possible to move this alf_data folder outside the install directory.
I will appreciate any inputs, hints, suggestion.

Thanks,
Sanjay

maverick
Champ in-the-making
Champ in-the-making
I am still not able to find a resolution to this problem.
Basically I want to move alf_data folder to a network file system. Currently its in the Alfresco install directory: C:/Alfresco/alf_data.

Everytime I try to modify 'dir.root' parameter in C:/Alfresco/tomct/shared/classes/alfresco-global.properties file to remote files system as X:/alf_data. It start giving me errors. 
Is it possible to move this alf_data folder outside the install directory.
I will appreciate any inputs, hints, suggestion.

Thanks,
Sanjay

maverick
Champ in-the-making
Champ in-the-making
I browsed through forum and found several users having issues with configuring Network File system. In my case, if I assign dir.root to any location on my local system it works perfectly fine. Problem comes only when I try to assign a mapped drive from a NAS appliance. Any input/pointers will be very welcome. Thanks.

—–log snippet—-
20:24:36,593 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcSmiley Tongueostgresql://localhost:5432/alfresco' with user 'alfresco'.

20:24:36,890 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 9.2.4

20:24:40,593 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeTableCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'authorityBridgeDAO' while setting bean property 'authorityBridgeDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeDAO' defined in class path resource [alfresco/authority-services-context.xml]: Cannot resolve reference to bean 'nodeDAO' while setting bean property 'nodeDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDAO.org.hibernate.dialect.Dialect' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'contentDataDAO' while setting bean property 'contentDataDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentDataDAO' defined in class path resource [alfresco/dao/dao-context.xml]: Cannot resolve reference to bean 'eagerContentStoreCleaner' while setting bean property 'contentStoreCleaner'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eagerContentStoreCleaner' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListeners' while setting bean property 'listeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListeners' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentBackupListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentBackupListener' defined in class path resource [alfresco/content-services-context.xml]: Cannot resolve reference to bean 'deletedContentStore' while setting bean property 'store'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deletedContentStore' defined in class path resource [alfresco/content-services-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.alfresco.repo.content.filestore.FileContentStore]: Constructor threw exception; nested exception is org.alfresco.service.cmr.repository.ContentIOException: 07200000 Failed to create store root: Z:\alf_data_z\contentstore.deleted

   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)

   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)

   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)

   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)

   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)

   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)

   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)

   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)

   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)

   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)

   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)

   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

   at java.util.concurrent.FutureTask.run(FutureTask.java:166)

   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

   at java.lang.Thread.run(Thread.java:724)