[Building Sakai] Quartz error related with SAK-13776

Sanghyun Jeon euksa99 at gmail.com
Wed May 15 08:57:17 PDT 2013


Thank you for your reply.

I did. I even remove the old jar as well as war  and its folder and
components file first. Then clear the temp/* and work/Catalina/localhost/*
 and rebuild it. But I got the same error.

If you tell me anything I might miss, please educate me.

S


On Tue, May 14, 2013 at 7:58 PM, John Bush <jbush at rsmart.com> wrote:

> Sounds like a build or deployment issue.  That change added a setter
> so if you are getting that error it seems like you aren't running with
> that change.  Check the timestamp on the scheduler-component-shared
> jar in shared/lib, make sure you have something new there.
>
> On Tue, May 14, 2013 at 3:51 PM, Sanghyun Jeon <euksa99 at gmail.com> wrote:
> > Hello all,
> >
> > We are currently experiencing the same error described on SAK 23130.
> > I fix the database following the SAK 23130 instruction. I also apply the
> > patch provided from SAK 13776 and set the new properties on our
> > local.properties.
> >
> > When we deploy the patched code without new properties setting, tomcat
> > starts up correctly.
> > However, tomcat fails to start up whenever we activate our new properties
> > (startScheduler at org.sakaiproject.api.app.scheduler.SchedulerManager
> =false).
> > Below is tomcat log and it complains "Bean property 'startScheduler' is
> not
> > writable or has an invalid setter method. Does the parameter type of the
> > setter match the return type of the getter?"
> >
> >  2013-05-14 15:37:55.519 [ERROR]
> > org.sakaiproject.util.NoisierDefaultListableBeanFactory:80 - Failed to
> > preinstantiate the singleton named
> > org.sakaiproject.api.app.scheduler.JobBeanWrapper.validateJob. Destroying
> > all Spring beans.
> > org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> > with name 'org.sakaiproject.api.app.scheduler.JobBeanWrapper.validateJob'
> > defined in file
> >
> [/opt/apache-tomcat-5.5.28_A/components/accountvalidator-pack/WEB-INF/components.xml]:
> > Cannot resolve reference to bean
> > 'org.sakaiproject.api.app.scheduler.SchedulerManager' while setting bean
> > property 'schedulerManager'; nested exception is
> > org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> > with name 'org.sakaiproject.api.app.scheduler.SchedulerManager' defined
> in
> > file
> >
> [/opt/apache-tomcat-5.5.28_A/components/scheduler-component/WEB-INF/components.xml]:
> > Error setting property values; nested exception is
> > org.springframework.beans.NotWritablePropertyException: Invalid property
> > 'startScheduler' of bean class
> > [org.sakaiproject.component.app.scheduler.SchedulerManagerImpl]: Bean
> > property 'startScheduler' is not writable or has an invalid setter
> method.
> > Does the parameter type of the setter match the return type of the
> getter?
> >         at
> >
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
> >
> >
> > Any thought to resolve this problem will be much appreciated.
> > Thanks.
> >
> > S
>
>
>
> --
> John Bush
> 602-490-0470
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130515/1a4ab137/attachment.html 


More information about the sakai-dev mailing list