[Using Sakai] Tomcat can't start after svn update for 2.6.x: SearchService problem?

Stephen Marquard stephen.marquard at uct.ac.za
Tue Aug 17 06:36:39 PDT 2010


Grab r81353  or later.

Cheers
Stephen

>>> "will at serensoft.com" <will at serensoft.com> 8/17/2010 3:17 PM >>>
Couldn't start Tomcat after an "svn update" on Sakai 2.6.x -- we hadn't
upgraded in a while (went from r66094 to r81348) -- snippet from
Catalina.out is below. How do we get the SearchService working?

Svn update was fine, mvn clean install was fine, mvn sakai:deploy was fine,
then we tried bin\startup.bat (windows server 2003 r2 enterprise x64 sp2):

2010-08-17 03:00:52,214  INFO main
org.sakaiproject.chat2.model.impl.ChatDataMigration - init()
2010-08-17 03:00:52,246  INFO main
org.sakaiproject.chat2.model.impl.ChatEntityProducer - init()
2010-08-17 03:00:52,496 ERROR main
org.sakaiproject.util.NoisierDefaultListableBeanFactory - Failed to
preinstantiate th
e singleton named chatSearchAdapter. Destroying all Spring beans.
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'chatSearchAdapter' defined in fi
le [C:\Tomcat55\components\sakai-chat-pack\WEB-INF\components.xml]: Cannot
resolve reference to bean 'org.sakaiproject.s
earch.api.SearchService' while setting bean property 'searchService'; nested
exception is org.springframework.beans.fact
ory.BeanCreationException: Error creating bean with name
'org.sakaiproject.search.api.SearchService' defined in file [C:
\Tomcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]:
Cannot resolve reference to bean 'org.sakaiprojec
t.search.index.IndexStorage' while setting bean property 'indexStorage';
nested exception is org.springframework.beans.f
actory.BeanCreationException: Error creating bean with name
'org.sakaiproject.search.index.IndexStorage' defined in file
 [C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]:
Cannot resolve reference to bean 'org.sakaipr
oject.search.api.SearchService.parallel.index.journaledFSIndexStorage' while
setting bean property 'indexStorageProvider
'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.sakai
project.search.api.SearchService.parallel.index.journaledFSIndexStorage'
defined in file [C:\Tomcat55\components\search-
pack\WEB-INF\parallelIndexComponents.xml]: Cannot resolve reference to bean
'org.sakaiproject.search.api.SearchService.p
arallel.index.concurrentIndexManager' while setting bean property
'indexListener' with key [0]; nested exception is org.
springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.sakaiproject.search.api.SearchSe
rvice.parallel.index.concurrentIndexManager' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexCo
mponents.xml]: Cannot resolve reference to bean
'org.sakaiproject.search.api.SearchService.parallel.index.indexer' while
 setting bean property 'tasks' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException
: Error creating bean with name
'org.sakaiproject.search.api.SearchService.parallel.index.indexer' defined
in file [C:\T
omcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]: Cannot
resolve reference to bean 'org.sakaiproject.
search.api.SearchService.parallel.index.concurrentSearchIndexBuilderWorkerImpl'
while setting bean property 'managementO
peration'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'o
rg.sakaiproject.search.api.SearchService.parallel.index.concurrentSearchIndexBuilderWorkerImpl'
defined in file [C:\Tomc
at55\components\search-pack\WEB-INF\parallelIndexComponents.xml]: Cannot
resolve reference to bean 'org.sakaiproject.sea
rch.api.SearchService.parallel.index.transactionalIndexWorker' while setting
bean property 'indexWorker'; nested excepti
on is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.sakaiproject.search.ap
i.SearchService.parallel.index.transactionalIndexWorker' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\par
allelIndexComponents.xml]: Cannot resolve reference to bean '
org.sakaiproject.search.api.SearchService.parallel.index.tr
ansactionIndexManager' while setting bean property
'transactionIndexManager'; nested exception is org.springframework.be
ans.factory.BeanCreationException: Error creating bean with name
'org.sakaiproject.search.api.SearchService.parallel.ind
ex.transactionIndexManager' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]: Ca
nnot resolve reference to bean
'org.sakaiproject.search.api.SearchService.parallel.index.searchBuilderQueueManager'
whil
e setting bean property 'transactionListeners' with key [1]; nested
exception is org.springframework.beans.factory.BeanC
reationException: Error creating bean with name
'org.sakaiproject.search.api.SearchService.parallel.index.searchBuilderQ
ueueManager' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]:
Error setting pro
perty values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'threadLocalM
anager' of bean class
[org.sakaiproject.search.indexer.impl.SearchBuilderQueueManager]: Bean
property 'threadLocalManage
r' is not writable or has an invalid setter method. Does the parameter type
of the setter match the return type of the g
etter?
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.sakaiproject.search.api.Sear
chService' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]:
Cannot resolve refe
rence to bean 'org.sakaiproject.search.index.IndexStorage' while setting
bean property 'indexStorage'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.sakaiproject.search.index
.IndexStorage' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]:
Cannot resolve
reference to bean
'org.sakaiproject.search.api.SearchService.parallel.index.journaledFSIndexStorage'
while setting bean
property 'indexStorageProvider'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error crea
ting bean with name
'org.sakaiproject.search.api.SearchService.parallel.index.journaledFSIndexStorage'
defined in file [
C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]:
Cannot resolve reference to bean 'org.sakaiproj
ect.search.api.SearchService.parallel.index.concurrentIndexManager' while
setting bean property 'indexListener' with key
 [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.sa
kaiproject.search.api.SearchService.parallel.index.concurrentIndexManager'
defined in file [C:\Tomcat55\components\searc
h-pack\WEB-INF\parallelIndexComponents.xml]: Cannot resolve reference to
bean 'org.sakaiproject.search.api.SearchService
.parallel.index.indexer' while setting bean property 'tasks' with key [0];
nested exception is org.springframework.beans
.factory.BeanCreationException: Error creating bean with name
'org.sakaiproject.search.api.SearchService.parallel.index.
indexer' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]:
Cannot resolve refere
nce to bean
'org.sakaiproject.search.api.SearchService.parallel.index.concurrentSearchIndexBuilderWorkerImpl'
while sett
ing bean property 'managementOperation'; nested exception is
org.springframework.beans.factory.BeanCreationException: Er
ror creating bean with name
'org.sakaiproject.search.api.SearchService.parallel.index.concurrentSearchIndexBuilderWorker
Impl' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexComponents.xml]:
Cannot resolve reference
 to bean
'org.sakaiproject.search.api.SearchService.parallel.index.transactionalIndexWorker'
while setting bean property
 'indexWorker'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with na
me
'org.sakaiproject.search.api.SearchService.parallel.index.transactionalIndexWorker'
defined in file [C:\Tomcat55\comp
onents\search-pack\WEB-INF\parallelIndexComponents.xml]: Cannot resolve
reference to bean 'org.sakaiproject.search.api.S
earchService.parallel.index.transactionIndexManager' while setting bean
property 'transactionIndexManager'; nested excep
tion is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.sakaiproject.search.
api.SearchService.parallel.index.transactionIndexManager' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\pa
rallelIndexComponents.xml]: Cannot resolve reference to bean
'org.sakaiproject.search.api.SearchService.parallel.index.s
earchBuilderQueueManager' while setting bean property 'transactionListeners'
with key [1]; nested exception is org.sprin
gframework.beans.factory.BeanCreationException: Error creating bean with
name 'org.sakaiproject.search.api.SearchService
.parallel.index.searchBuilderQueueManager' defined in file
[C:\Tomcat55\components\search-pack\WEB-INF\parallelIndexComp
onents.xml]: Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException:
Invalid property 'threadLocalManager' of bean class
[org.sakaiproject.search.indexer.impl.SearchBuilderQueueManager]: Be
an property 'threadLocalManager' is not writable or has an invalid setter
method. Does the parameter type of the setter
match the return type of the getter?

-- 
will trillich
"I just try to make sure that the laziest thing I can do at any moment is
what I should be doing." -- matt.might.net


 

###
UNIVERSITY OF CAPE TOWN 

This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 4500. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity.

###
 


More information about the sakai-user mailing list