Foren

Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

thumbnail
Miguel Ángel Júlvez, geändert vor 11 Jahren.

Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

Junior Member Beiträge: 63 Beitrittsdatum: 29.03.11 Neueste 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!
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Probably because org.quartz.scheduler.jobFactory.class is not set in quartz.properties and default to using org.quartz.simpl.PropertySettingJobFactory.
lm ni, geändert vor 11 Jahren.

RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

New Member Beiträge: 2 Beitrittsdatum: 28.12.10 Neueste 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, geändert vor 11 Jahren.

RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

New Member Beiträge: 4 Beitrittsdatum: 20.08.12 Neueste Beiträge
I am using liferay 6.1 CE GA2 bundled with JBoss and also found this problem.

Any Idea?

Thanks
thumbnail
Marco Dussin, geändert vor 11 Jahren.

RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

Junior Member Beiträge: 45 Beitrittsdatum: 06.07.10 Neueste Beiträge
I've that problem too (LR 6.1.0 ce-ga1, Jboss 7)

Any help wiil be appreciated

Thanks a lot

Marco
thumbnail
Ondřej Životský, geändert vor 11 Jahren.

RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

Junior Member Beiträge: 29 Beitrittsdatum: 11.03.11 Neueste 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.
thumbnail
James Falkner, geändert vor 11 Jahren.

RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

Liferay Legend Beiträge: 1399 Beitrittsdatum: 17.09.10 Neueste 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!
thumbnail
Marco Dussin, geändert vor 11 Jahren.

RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

Junior Member Beiträge: 45 Beitrittsdatum: 06.07.10 Neueste Beiträge
JBoss users must consider also this issue if the configuration page for log levels is missing.

Marco
thumbnail
Marco Dussin, geändert vor 11 Jahren.

RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

Junior Member Beiträge: 45 Beitrittsdatum: 06.07.10 Neueste Beiträge
I've still the error using CE GA1, also after setting portal-log4j-ext.xml as
<!--?xml version="1.0"?-->

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<category name="org.quartz.simpl.PropertySettingJobFactory">
<priority value="ERROR" />
</category>
</log4j:configuration>



Marco
thumbnail
Igor Spasić, geändert vor 11 Jahren.

RE: Liferay 6.1 CE GA1 on JBoss 7.1.1.Final

New Member Beiträge: 10 Beitrittsdatum: 26.04.10 Neueste Beiträge
try this: open standalone.xml and set the logging level. For example:

    <profile>
        <subsystem xmlns="urn:jboss:domain:logging:1.1">
....
            <logger category="org.quartz">
                <level name="ERROR" />
            </logger>
...</subsystem></profile>


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