Hi All,
I am facing issue/error while creating Trigger bean. While passing value for start delay property of bean in Alfresco-global.properties.
My trigger bean is as follow:-
<bean id="org.alfresco.tutorial.scheduledjob.trigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean"> <property name="jobDetail" ref="com.aviva.repo.webscripts.scheduledjob.jobDetail" /> <property name="cronExpression" value="${com.abc.repo.webscripts.scheduledjob.cronexpression}" /> <property name="startDelay" value="${com.abc.repo.webscripts.scheduledjob.cronstartdelay}"/> </bean>
and value for property name=startDelay is :-
com.abc.repo.webscript.scheduledjob.cronstartdelay=100
I am getting error as below:-
<property name="startDelay" value="${com.abc.repo.webscripts.scheduledjob.cronstartdelay}"/>
There is a "s" in spring property name but not in Alfresco-global.properties.
com.abc.repo.webscript.scheduledjob.cronstartdelay=100
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.