[Deploying Sakai] Help needed with fresh local CM implementation to be

Jean-Francois Leveque jean-francois.leveque at upmc.fr
Wed Jun 10 08:02:22 PDT 2009


Hi all,

It seems a member of the new Fellow generation is not as knowledgeable 
as he thinks the others and predecessors are. :-(

Be kind, this is the first time I'm trying to build something for Sakai 
almost out of nothing.

I've made a local CM implementation but I don't know how to get the bean 
id I provide through the 
org.sakaiproject.coursemanagement.api.CourseManagementService setting 
defined for Spring's FactoryBean.

I've tried to make a spring bean file within my src directory, 
simplifying 
https://source.sakaiproject.org/contrib/ucb/ucb-integration-samples/bspace-cm-impl/src/main/resources/META-INF/spring/bspaceCmImpl.xml 
but I don't know how to tell sakai to look for this file.

I get the following error :
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'org.sakaiproject.authz.api.GroupProvider': FactoryBean 
threw exception on object creation; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 
'org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider' 
defined in file 
[/home/leveque/sakai/apache-tomcat-5.5.27/components/sakai-provider-pack/WEB-INF/components.xml]: 
Cannot create inner bean 
'org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider#2264da' 
of type 
[org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider] 
while setting bean property 'target'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 
'org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider#2264da' 
defined in file 
[/home/leveque/sakai/apache-tomcat-5.5.27/components/sakai-provider-pack/WEB-INF/components.xml]: 
Cannot resolve reference to bean 
'org.sakaiproject.coursemanagement.api.CourseManagementService' while 
setting bean property 'cmService'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 
'org.sakaiproject.coursemanagement.api.CourseManagementService': 
FactoryBean threw exception on object creation; nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 
'fr.upmc.sakai.coursemanagement.dummy.CourseManagementServiceUPMCDummyImpl' 
is defined

Could someone help me with this?

Cheers,

Jean-Francois


More information about the production mailing list