12-09-2020 04:31 AM
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:-
12-09-2020 04:37 AM
<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
Explore our Alfresco products with the links below. Use labels to filter content by product module.