cancel
Showing results for 
Search instead for 
Did you mean: 

HELP: 'Web Script Store workspace://SpacesStore/...&quo

yanpa
Champ in-the-making
Champ in-the-making
Running a new 2.1 community edition installation on Tomcat 5.5, MySQL under FreeBSD. After restarting Tomcat I am getting errors refering to a "Web Script Store workspace" not being found, more precisely:

01:44:26,756 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.web.scripts.WebScriptException: Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:webscripts must exist; it was not found

What could causing this, and how can I solve it? (Unfortunately I've only been working with alfresco for about a week, and googling hasn't provided any answers).

More complete log file dump:

01:40:26,514 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
01:41:45,119 WARN  [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
01:44:21,512 INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
01:44:23,188 INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
01:44:25,251 INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /usr/local/tomcat5.5/webapps/alf_data
01:44:25,644 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
01:44:25,845 INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
01:44:25,988 INFO  [service.descriptor.DescriptorService] Alfresco JVM - vdiablo-1.5.0-b01; maximum heap size 439.125MB
01:44:25,988 WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 439.125MB is less than recommended 512MB
01:44:25,989 INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (482) schema 64 - Installed version 2.1.0 (482) schema 64
01:44:26,756 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.web.scripts.WebScriptException: Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:webscripts must exist; it was not found
        at org.alfresco.web.scripts.RepoStore$1$1.execute(RepoStore.java:218)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
        at org.alfresco.web.scripts.RepoStore$1.doWork(RepoStore.java:205)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:260)
(…)
01:44:26,759 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.alfresco.web.scripts.WebScriptException: Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:webscripts must exist; it was not found
        at org.alfresco.web.scripts.RepoStore$1$1.execute(RepoStore.java:218)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
        at org.alfresco.web.scripts.RepoStore$1.doWork(RepoStore.java:205)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:260)
        at org.alfresco.web.scripts.RepoStore.init(RepoStore.java:201)
        at org.alfresco.web.scripts.RepoStore$ProcessorLifecycle.onBootstrap(RepoStore.java:187)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
        at org.alfresco.web.scripts.RepoStore.onApplicationEvent(RepoStore.java:176)
(…)
01:44:26,762 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.alfresco.web.scripts.WebScriptException: Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:webscripts must exist; it was not found
        at org.alfresco.web.scripts.RepoStore$1$1.execute(RepoStore.java:218)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
        at org.alfresco.web.scripts.RepoStore$1.doWork(RepoStore.java:205)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:260)
        at org.alfresco.web.scripts.RepoStore.init(RepoStore.java:201)
        at org.alfresco.web.scripts.RepoStore$ProcessorLifecycle.onBootstrap(RepoStore.java:187)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
        at org.alfresco.web.scripts.RepoStore.onApplicationEvent(RepoStore.java:176)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:241)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:448)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Oct 30, 2007 1:44:26 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 30, 2007 1:44:26 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Oct 30, 2007 1:44:28 AM org.apache.catalina.loader.WebappClassLoader loadClass
3 REPLIES 3

yanpa
Champ in-the-making
Champ in-the-making
It appears a user moved the data dictionary using WebDAV to another location, which explains the error message.

Fortunately a backup is available. However, for posterity: is there any way of recovering from this situation, e.g. by manipulating the database?

davidc
Star Contributor
Star Contributor
First, restrict the permissions on the Data Dictionary folder - read for most, read/write for those that only administer the repo.

Second, you might be able to recover by moving the folder back to the Company Home (in the case where there's no backup).

mindreader13
Champ in-the-making
Champ in-the-making
It seems I have the same problem… how exactly can i solve it