[Building Sakai] Failure to start Sakai 2.6.0 Beta03
Anthony Whyte
arwhyte at umich.edu
Fri Apr 3 11:07:15 PDT 2009
Can you check and tell me what kernel (K1) artifacts are in your
local Maven .m2 repo?
~/.m2/repository/org/sakaiproject/kernel
I've just deleted my .m2 kernel folder, then checked out, built and
started up sakai-2.6.0-beta03 in Tomcat with no issues on my Mac.
cd sakai-2.6.0.beta03/master
mvn clean install
cd ..
mvn clean install -Dmaven.test.skip=true sakai:deploy
cd $CATALINA_HOME
catalina.sh jpda start (running debugger)
My local world:
MacBook Pro
Java 1.5.0_16
Tomcat 5.5.26 (clean)
MySQL 5.0.51a
sakai-2.6.0.beta03 binding, in the main, to sakai-kernel-1.0.3
(except in the case of gradebook standalone-app which, by way of an
oversight, binds to K1 1.0.2--fixed in the 2.6.x branch)
You might try removing your .m2 kernel folder, start with a clean
Tomcat 5.5.26 install, and then trying building and starting up
beta03 in Tomcat.
sakai-configuration.xml (1.0.3)
This file defines a set of beans that handle Sakai's configuration
settings on start up, consuming a set of key/value properties files
in the following order:
kernel.properties
overridden by (Sakai config project)
default.sakai.properties
overidden by (local)
sakai.properties, local.properties, security.properties
https://source.sakaiproject.org/svn/kernel/tags/kernel-1.0.3/
component-manager/src/main/bundle/org/sakaiproject/config/sakai-
configuration.xml
sakai-configuration.xml (1.0.2; identical to above)
https://source.sakaiproject.org/svn/kernel/tags/kernel-1.0.2/
component-manager/src/main/bundle/org/sakaiproject/config/sakai-
configuration.xml
Your sakai.properties file was loaded:
2009-04-02 19:25:00,437 INFO main
org.sakaiproject.component.impl.SpringCompMgr - loaded properties
file: C:\Trial\Sakai\Tomcat\sakai\sakai.properties
Then, as you note, the bean property SakaiProperties defined in sakai-
configuration.xml and referenced by components-components.xml is not
found by Spring:
2009-04-02 19:25:01,125 WARN main
org.sakaiproject.component.impl.SpringCompMgr - Error creating bean
with name 'org.sakaiproject.log.api.LogConfigurationManager' defined
in file [C:\Trial\Sakai\Tomcat\components\sakai-kernel-component\WEB-
INF\util-components.xml]: Invocation of init method failed; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'org.sakaiproject.component.api.ServerConfigurationService' defined
in file [C:\Trial\Sakai\Tomcat\components\sakai-kernel-component\WEB-
INF\component-components.xml]: Cannot resolve reference to bean
'org.sakaiproject.component.SakaiProperties' while setting bean
property 'sakaiProperties'; ested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No
bean named 'org.sakaiproject.component.SakaiProperties' is defined
org.springframework.beans.factory.BeanCreationException . . . .
Anthony
On Apr 3, 2009, at 1:16 PM, Zach A. Thomas wrote:
> On Apr 3, 2009, at 11:51 AM, Kalpit Desai wrote:
>
>> Thanks Robert. I should look into the changes in sakai-
>> configuration.xml.
>
> This bean definition was absent in Sakai 2.5.x, but present in kernel
> 1.0.
>
> There are some explanatory comments, but beyond that I'm not sure what
> it's about:
> https://source.sakaiproject.org/svn/kernel/tags/kernel-1.0/
> component-manager/src/main/bundle/org/sakaiproject/config/sakai-
> configuration.xml
>
> cheers,
> Zach
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-
> unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090403/1337e125/attachment-0001.bin
More information about the sakai-dev
mailing list