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.
Contenido exclusivo para suscriptores.
Una Suscripción Enterprise de Liferay proporciona acceso a más de 1.500 artículos que incluyen las mejores practicas, diagnóstico de problemas y otras soluciones útiles. Inicia sesión para tener un acceso completo.
Inicia sesión