AnsweredAssumed Answered

Facing some issues while starting the Alfresco server

Question asked by salma on Jan 5, 2011
Latest reply on Feb 4, 2011 by ptx
Hi
I am new to Alfresco, I have followed the steps provided in Installation guidelines document, and installed with Full Installation Alfresco-Community-3.3-Full-Setup.exe.

When I am starting the Alfresco some errors are coming in Tomcat Command prompt.
Not able to resolve after so much of work around also.

Please help me out.

Error is

ting bean with name 'auditComponent' defined in class path resource [alfresco/au
dit-services-context.xml]: Cannot resolve reference to bean 'auditModel' while s
etting bean property 'auditModel'; nested exception is org.springframework.beans
.factory.BeanCreationException: Error creating bean with name 'auditModel' defin
ed in class path resource [alfresco/audit-services-context.xml]: Invocation of i
nit method failed; nested exception is org.alfresco.repo.audit.model.AuditModelE
xception: 00050000 Audit configuration could not be opened
        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.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:322)
        … 107 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'fileFolderService' defined in class path resource [alfresco/m
odel-specific-services-context.xml]: Cannot resolve reference to bean 'copyServi
ce' while setting bean property 'copyService'; nested exception is org.springfra
mework.beans.factory.BeanCreationException: Error creating bean with name 'copyS
ervice' defined in class path resource [alfresco/core-services-context.xml]: Can
not resolve reference to bean 'NodeService' while setting bean property 'nodeSer
vice'; nested exception is org.springframework.beans.factory.BeanCreationExcepti
on: Error creating bean with name 'NodeService': FactoryBean threw exception on
object creation; nested exception is org.springframework.beans.factory.BeanCreat
ionException: Error creating bean with name 'AuditMethodInterceptor' defined in
class path resource [alfresco/public-services-context.xml]: Cannot resolve refer
ence to bean 'auditComponent' while setting bean property 'auditComponent'; nest
ed exception is org.springframework.beans.factory.BeanCreationException: Error c
reating bean with name 'auditComponent' defined in class path resource [alfresco
/audit-services-context.xml]: Cannot resolve reference to bean 'auditModel' whil
e setting bean property 'auditModel'; nested exception is org.springframework.be
ans.factory.BeanCreationException: Error creating bean with name 'auditModel' de
fined in class path resource [alfresco/audit-services-context.xml]: Invocation o
f init method failed; nested exception is org.alfresco.repo.audit.model.AuditMod
elException: 00050000 Audit configuration could not be opened
        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.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:322)
        … 117 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'copyService' defined in class path resource [alfresco/core-se
rvices-context.xml]: Cannot resolve reference to bean 'NodeService' while settin
g bean property 'nodeService'; nested exception is org.springframework.beans.fac
tory.BeanCreationException: Error creating bean with name 'NodeService': Factory
Bean threw exception on object creation; nested exception is org.springframework
.beans.factory.BeanCreationException: Error creating bean with name 'AuditMethod
Interceptor' defined in class path resource [alfresco/public-services-context.xm
l]: Cannot resolve reference to bean 'auditComponent' while setting bean propert
y 'auditComponent'; nested exception is org.springframework.beans.factory.BeanCr
eationException: Error creating bean with name 'auditComponent' defined in class
path resource [alfresco/audit-services-context.xml]: Cannot resolve reference t
o bean 'auditModel' while setting bean property 'auditModel'; nested exception i
s org.springframework.beans.factory.BeanCreationException: Error creating bean w
ith name 'auditModel' defined in class path resource [alfresco/audit-services-co
ntext.xml]: Invocation of init method failed; nested exception is org.alfresco.r
epo.audit.model.AuditModelException: 00050000 Audit configuration could not be o
pened
        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.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:322)
        … 127 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'NodeService': FactoryBean threw exception on object creation;
nested exception is org.springframework.beans.factory.BeanCreationException: Er
ror creating bean with name 'AuditMethodInterceptor' defined in class path resou
rce [alfresco/public-services-context.xml]: Cannot resolve reference to bean 'au
ditComponent' while setting bean property 'auditComponent'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'auditComponent' defined in class path resource [alfresco/audit-services-
context.xml]: Cannot resolve reference to bean 'auditModel' while setting bean p
roperty 'auditModel'; nested exception is org.springframework.beans.factory.Bean
CreationException: Error creating bean with name 'auditModel' defined in class p
ath resource [alfresco/audit-services-context.xml]: Invocation of init method fa
iled; nested exception is org.alfresco.repo.audit.model.AuditModelException: 000
50000 Audit configuration could not be opened
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.
doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:150)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.
getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getObje
ctForBeanInstance(AbstractBeanFactory.java:1387)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:301)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:322)
        … 137 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'AuditMethodInterceptor' defined in class path resource [alfre
sco/public-services-context.xml]: Cannot resolve reference to bean 'auditCompone
nt' while setting bean property 'auditComponent'; nested exception is org.spring
framework.beans.factory.BeanCreationException: Error creating bean with name 'au
ditComponent' defined in class path resource [alfresco/audit-services-context.xm
l]: Cannot resolve reference to bean 'auditModel' while setting bean property 'a
uditModel'; nested exception is org.springframework.beans.factory.BeanCreationEx
ception: Error creating bean with name 'auditModel' defined in class path resour
ce [alfresco/audit-services-context.xml]: Invocation of init method failed; nest
ed exception is org.alfresco.repo.audit.model.AuditModelException: 00050000 Audi
t configuration could not be opened
        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.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:189)
        at org.springframework.aop.framework.ProxyFactoryBean.initializeAdvisorC
hain(ProxyFactoryBean.java:454)
        at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFac
toryBean.java:240)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.
doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:143)
        … 142 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'auditComponent' defined in class path resource [alfresco/audi
t-services-context.xml]: Cannot resolve reference to bean 'auditModel' while set
ting bean property 'auditModel'; nested exception is org.springframework.beans.f
actory.BeanCreationException: Error creating bean with name 'auditModel' defined
in class path resource [alfresco/audit-services-context.xml]: Invocation of ini
t method failed; nested exception is org.alfresco.repo.audit.model.AuditModelExc
eption: 00050000 Audit configuration could not be opened
        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.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:322)
        … 154 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'auditModel' defined in class path resource [alfresco/audit-se
rvices-context.xml]: Invocation of init method failed; nested exception is org.a
lfresco.repo.audit.model.AuditModelException: 00050000 Audit configuration could
not be opened
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:322)
        … 164 more
Caused by: org.alfresco.repo.audit.model.AuditModelException: 00050000 Audit con
figuration could not be opened
        at org.alfresco.repo.audit.model.AuditEntry.createDocument(AuditEntry.ja
va:200)
        at org.alfresco.repo.audit.model.AuditEntry.afterPropertiesSet(AuditEntr
y.java:76)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
        … 171 more
Jan 5, 2011 5:36:58 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 5, 2011 5:36:58 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class
reloading, using NOPLoggerRepository.
Jan 5, 2011 5:37:06 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive mobile.war
17:37:16,577  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 51 We
b Scripts (+0 failed), 58 URLs
17:37:16,577  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Pac
kage Description Documents (+0 failed)
17:37:16,593  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Sch
ema Description Documents (+0 failed)
17:37:16,608  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised
Spring Surf Container Web Script Container (in 1253.939ms)
17:37:16,780  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered
template processor freemarker for extension ftl
17:37:17,061  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered s
cript processor javascript for extension js
17:37:17,124  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered
template processor freemarker for extension ftl
17:37:17,140  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered s
cript processor javascript for extension js
17:37:17,218  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered
template processor freemarker for extension ftl
17:37:17,233  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered s
cript processor javascript for extension js
Jan 5, 2011 5:37:17 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
17:37:32,186  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 225 W
eb Scripts (+0 failed), 232 URLs
17:37:32,186  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Pac
kage Description Documents (+0 failed)
17:37:32,186  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Sch
ema Description Documents (+0 failed)
17:37:32,343  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised
Spring Surf Container Web Script Container (in 3974.808ms)
17:37:32,530  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered
template processor freemarker for extension ftl
17:37:32,749  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered s
cript processor javascript for extension js
17:37:32,921  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered
template processor freemarker for extension ftl
17:37:32,936  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered s
cript processor javascript for extension js
17:37:33,139  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered
template processor freemarker for extension ftl
17:37:33,155  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered s
cript processor javascript for extension js
Jan 5, 2011 5:37:36 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 5, 2011 5:37:36 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 81660 ms

Outcomes