PropertySettingJobFactory WARN Messages Appearing Within Clustered Environment

This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.

Several PropertySettingJobFactory WARN messages are logged with a clustered Liferay:

WARN  [PropertySettingJobFactory:248] No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'MESSAGE'
WARN  [PropertySettingJobFactory:248] No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'STORAGE_TYPE'
WARN  [PropertySettingJobFactory:248] No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'DESCRIPTION'
WARN  [PropertySettingJobFactory:248] No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'DESTINATION_NAME'
WARN  [PropertySettingJobFactory:248] No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'JOB_STATE'

Resolution

Liferay Portal, by default, stores information to JobDataMap within the QuartzSchedulerEngine class. However, only fields are expected within org.quartz.simpl.PropertySettingJobFactory. To resolve the warning messages, enabling the logging levels for the class should be set to the ERROR level.

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0