[Deploying Sakai] Help needed with fresh local CM implementation to be
Steve Swinsburg
s.swinsburg at lancaster.ac.uk
Fri Jun 12 07:16:07 PDT 2009
No worries. Come along to the Programmers Cafe session in Boston on
the Tuesday before the conference for some hands-on guidance.
cheers,
Steve
On 12 Jun 2009, at 15:10, Jean-Francois Leveque wrote:
> Thanks Steve.
>
> This really helped. I don't have any more coding problem with my
> Dummy CM implementation. We'll see later if I have problems when I
> code the real one.
>
> I think I still need to hone my Sakai developer skills. Maybe the
> Bootcamp is not enough and too fast for me. Advice is welcome.
>
> cheers,
> Jean-Francois
>
> Steve Swinsburg a écrit :
>> Hi Jean-Francois,
>> Have you deployed anything to components in Tomcat? Spring will
>> look in tomcat/components/*/WEB-INF/components.xml to register any
>> beans. The bean id's must be unique. You can tie all your services
>> together there. It's essentially an exploded webapp.
>> Most projects create a 'pack' module for the build that deploys it
>> there. You could take a look at a simple example of the pack setup
>> here:
>> https://source.sakaiproject.org/contrib/lancaster.ac.uk/quartz-example/
>> cheers,
>> Steve
>> On 10 Jun 2009, at 16:02, Jean-Francois Leveque wrote:
>>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/production/attachments/20090612/44b995f6/attachment.bin
More information about the production
mailing list