cancel
Showing results for 
Search instead for 
Did you mean: 

RenditionServiceException in Alfresco.log

villdre
Confirmed Champ
Confirmed Champ
Hello

I recently upgraded the packages on our ubuntu server using apt-get upgrade.
Since then I have been getting the below exception when starting up Alfresco Community 5.0.d.
I have not been able to find any resolutions on the forums or elsewhere. Any pointers will be appreciated.

I have tried doing a fresh install of Alfresco. It works without any data. But the moment I restore my data and content from backup, the same error reappears.
This is even happening when I try to restore older backups - taken when the server was working just fine.

Thanks in advance for your help

Vipul.


5-10-26 15:37:48,514 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context in
itialization failed
org.alfresco.service.cmr.rendition.RenditionServiceException: 09260117 Unable to find rendering action root node
.
        at org.alfresco.repo.rendition.RenditionDefinitionPersisterImpl.checkRenderingActionRootNodeExists(Rendi
tionDefinitionPersisterImpl.java:232)
        at org.alfresco.repo.rendition.RenditionDefinitionPersisterImpl.findActionNode(RenditionDefinitionPersis
terImpl.java:187)
        at org.alfresco.repo.rendition.RenditionDefinitionPersisterImpl.findOrCreateActionNode(RenditionDefiniti
onPersisterImpl.java:210)
        at org.alfresco.repo.rendition.RenditionDefinitionPersisterImpl.saveRenditionDefinition(RenditionDefinit
ionPersisterImpl.java:157)
        at org.alfresco.repo.rendition.RenditionServiceImpl.saveRenditionDefinition(RenditionServiceImpl.java:40
😎
        at org.alfresco.repo.thumbnail.ThumbnailRegistry$1.execute(ThumbnailRegistry.java:173)
        at org.alfresco.repo.thumbnail.ThumbnailRegistry$1.execute(ThumbnailRegistry.java:160)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.jav
a:457)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.jav
a:326)
        at org.alfresco.repo.thumbnail.ThumbnailRegistry.initThumbnailDefinitions(ThumbnailRegistry.java:159)
        at org.alfresco.repo.thumbnail.ThumbnailRegistry$RegistryLifecycle$2.doWork(ThumbnailRegistry.java:494)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
        at org.alfresco.repo.thumbnail.ThumbnailRegistry$RegistryLifecycle.onBootstrap(ThumbnailRegistry.java:490)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
        at org.alfresco.repo.thumbnail.ThumbnailRegistry.onApplicationEvent(ThumbnailRegistry.java:435)
        at org.alfresco.repo.thumbnail.ThumbnailRegistry.onApplicationEvent(ThumbnailRegistry.java:56)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
        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:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

1 REPLY 1

villdre
Confirmed Champ
Confirmed Champ
I fixed the problem myself eventually.
Turns out there was a dodgy tenant in the database. Someone had inadvertently created a tenant with "password" as its data store path. So Alfresco was looking for a folder called "password", which didn't exist.

I did the following to fix this:

/opt/alfresco/postgresql/bin/psql –U postgres
\connect alfresco
select * from alf_tenant
delete from alf_tenant where tenant_domain=<<dodgy tenant domain>>