[Building Sakai] Help needed to build and start trunk-all

Nicolas Lupien niclupien at gmail.com
Tue Apr 3 07:38:39 PDT 2012


I'm trying to run sakai using the branch "sakai-trunk-all". I followed
every step in
https://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough
but
i'm stuck at step 12.

The compilation is fine but whenever I start tomcat i get this error :

2012-04-03 10:15:14,002 ERROR pool-2-thread-1
org.sakaiproject.util.NoisierDefaultListableBeanFactory - Failed to
preinstantiate the singleton named
org.theospi.portfolio.security.model.BeanLoadCollector.integration.
Destroying all Spring beans.
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.theospi.portfolio.security.model.BeanLoadCollector.integration'
defined in file
[/opt/tomcat/components/osp-integration-component/WEB-INF/components.xml]:
Cannot resolve reference to bean 'matrixToolPermissionsMap' while setting
bean property 'beans' with key [7]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'matrixToolPermissionsMap' defined in file
[/opt/tomcat/components/osp-matrix-component/WEB-INF/components.xml]:
Cannot resolve reference to bean
'org.theospi.portfolio.security.mgt.ToolPermissionManager.scaffoldingSpecific'
while setting bean property 'additionalTools' with key [TypedStringValue:
value [scaffoldingSpecific], target type [null]]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.theospi.portfolio.security.mgt.ToolPermissionManager.scaffoldingSpecific'
defined in file
[/opt/tomcat/components/osp-matrix-component/WEB-INF/components.xml]:
Invocation of init method failed; nested exception is
java.lang.NullPointerException

After this error, lots of beans aren't created because of
"java.lang.IllegalStateException: The CacheManager has been shut down. It
can no longer be used."

I use this command to build Sakai : mvn clean install sakai:deploy

System information :

# java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)

# cat /opt/tomcat/RELEASE-NOTES | grep "Apache Tomcat Version"
Apache Tomcat Version 7.0.26

# mysql --version
mysql  Ver 14.14 Distrib 5.5.21, for Linux (x86_64) using readline 5.1

# cat /etc/redhat-release
Fedora release 16 (Verne)

# uname -sr
Linux 3.3.0-4.fc16.x86_64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120403/ba76a2a5/attachment.html 


More information about the sakai-dev mailing list