Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Miguel Ángel Júlvez
Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
27. Juni 2012 00:45
Antwort

Miguel Ángel Júlvez

Rang: Junior Member

Nachrichten: 56

Eintrittsdatum: 29. März 2011

Neue Beiträge

Hi all!

When I deploy liferay war on JBoss 7.1.1.Final everything seems to work fine but I get these logs warnings every time:

09:28:34,815 WARN [org.quartz.simpl.PropertySettingJobFactory] (MemoryQuartzSchedulerEngineInstance_QuartzSchedulerThread) No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'MESSAGE'
09:28:34,815 WARN [org.quartz.simpl.PropertySettingJobFactory] (MemoryQuartzSchedulerEngineInstance_QuartzSchedulerThread) No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'STORAGE_TYPE'
09:28:34,816 WARN [org.quartz.simpl.PropertySettingJobFactory] (MemoryQuartzSchedulerEngineInstance_QuartzSchedulerThread) No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'DESCRIPTION'
09:28:34,816 WARN [org.quartz.simpl.PropertySettingJobFactory] (MemoryQuartzSchedulerEngineInstance_QuartzSchedulerThread) No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'DESTINATION_NAME'
09:28:34,817 WARN [org.quartz.simpl.PropertySettingJobFactory] (MemoryQuartzSchedulerEngineInstance_QuartzSchedulerThread) No setter on Job class com.liferay.portal.scheduler.job.MessageSenderJob for property 'JOB_STATE'

Any idea?

Thanks!
Hitoshi Ozawa
RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
30. Juni 2012 22:22
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7990

Eintrittsdatum: 23. März 2010

Neue Beiträge

Probably because org.quartz.scheduler.jobFactory.class is not set in quartz.properties and default to using org.quartz.simpl.PropertySettingJobFactory.
evan ni
RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
3. Juli 2012 22:33
Antwort

evan ni

Rang: New Member

Nachrichten: 2

Eintrittsdatum: 27. Dezember 2010

Neue Beiträge

I am using tomcat also encounter this problem

I can't find quartz.properties in any place.

How to deal with this problem?

thanks
Manuel Pinto
RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
20. August 2012 10:37
Antwort

Manuel Pinto

Rang: New Member

Nachrichten: 4

Eintrittsdatum: 20. August 2012

Neue Beiträge

I am using liferay 6.1 CE GA2 bundled with JBoss and also found this problem.

Any Idea?

Thanks
Marco Dussin
RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
28. September 2012 03:38
Antwort

Marco Dussin

Rang: Junior Member

Nachrichten: 41

Eintrittsdatum: 6. Juli 2010

Neue Beiträge

I've that problem too (LR 6.1.0 ce-ga1, Jboss 7)

Any help wiil be appreciated

Thanks a lot

Marco
Ondřej Životský
RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
1. Oktober 2012 00:18
Antwort

Ondřej Životský

Rang: Junior Member

Nachrichten: 28

Eintrittsdatum: 11. März 2011

Neue Beiträge

Liferay store some important informations (MESSAGE, DESCRIPTION, JOB_STATE, ...) to JobDataMap in QuartzSchedulerEngine class. But org.quartz.simpl.PropertySettingJobFactory expects only fields in this map.
If you don't want to see this warnings, set log level for class org.quartz.simpl.PropertySettingJobFactory to ERROR level.
James Falkner
RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
1. Oktober 2012 08:28
Antwort

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1236

Eintrittsdatum: 17. September 2010

Neue Beiträge

Ondřej Životský:
Liferay store some important informations (MESSAGE, DESCRIPTION, JOB_STATE, ...) to JobDataMap in QuartzSchedulerEngine class. But org.quartz.simpl.PropertySettingJobFactory expects only fields in this map.
If you don't want to see this warnings, set log level for class org.quartz.simpl.PropertySettingJobFactory to ERROR level.


I believe this is a result of Liferay not configuring the logging level properly - you can see in Control Panel that the log level for org.quartz set to ERROR yet INFO and WARNs are getting through. This does not happen on the Tomcat bundles. I suspect there is an issue with the fix for LPS-27399. IF you set the log level to ERROR through JBoss' recommended log configuration mechanism (I don't have the details but you can search for them) and this eliminates the WARNs I will re-open the bug for you to add details!
Marco Dussin
RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
2. Oktober 2012 01:28
Antwort

Marco Dussin

Rang: Junior Member

Nachrichten: 41

Eintrittsdatum: 6. Juli 2010

Neue Beiträge

JBoss users must consider also this issue if the configuration page for log levels is missing.

Marco
Marco Dussin
RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
2. Oktober 2012 03:11
Antwort

Marco Dussin

Rang: Junior Member

Nachrichten: 41

Eintrittsdatum: 6. Juli 2010

Neue Beiträge

I've still the error using CE GA1, also after setting portal-log4j-ext.xml as
1<?xml version="1.0"?>
2<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
3<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
4<category name="org.quartz.simpl.PropertySettingJobFactory">
5<priority value="ERROR" />
6</category>
7</log4j:configuration>



Marco
Igor Spasić
RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final
19. Oktober 2012 05:02
Antwort

Igor Spasić

LIFERAY STAFF

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 26. April 2010

Neue Beiträge

try this: open standalone.xml and set the logging level. For example:
1
2    <profile>
3        <subsystem xmlns="urn:jboss:domain:logging:1.1">
4....
5            <logger category="org.quartz">
6                <level name="ERROR"/>
7            </logger>
8...


source:
http://www.liferay.com/community/wiki/-/wiki/Main/JBoss+AS7+tips#section-JBoss+AS7+tips-Setting+log+level