Interval is either equal or less than 0 error during upgrade

Issue

  • You might encounter the following error during upgrade attempt to Liferay DXP 7.4 U69+:
    ERROR [main][ROOT:47] bundle com.liferay.portal.scheduler:8.0.32 (654)[com.liferay.portal.scheduler.internal.SchedulerEngineHelperImpl(2334)] : The activate method has thrown an exception java.lang.IllegalArgumentException: Interval is either equal or less than 0
  • This is due to the fact that you have the announcements.entry.check.interval property set either equal or less than 0

Environment

  • Liferay DXP 7.4 U69+

Resolution

  • There is a workaround currently to set the value to at least 1
  • The value 0 or less than 0 is a valid interval for the Quartz Factory, so no error should be thrown and there is a fix in progress currently: LPS-190994 

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助