[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: smanepal  XML
Profile for smanepal -> Messages posted by smanepal [3]
Author Message
I wanted to implement some alert mechanism some thing like email alert if there is any issue firing a trigger on schedule.
I will appreciate if you point me any docs related to this.
In our application we are using log4j for logging , WebSphere application server 6.0 and Quartz 1.6
Till now we are not having any issue. As we wanted to have Tirigger hostory, trying use LoggingTriggerHistoryPlugin.

I added some entries to quartz.properies, created commons-logging.properties and modified log4j.xml
But still could not see any logging related to LoggingTriggerHistoryPlugin.

Added below lines in quartz.properties.

org.quartz.plugin.triggHistory.class = org.quartz.plugins.history.LoggingTriggerHistoryPlugin
org.quartz.plugin.triggHistory.triggerFiredMessage = Trigger {1}.{0} fired job {6}.{5} at: {4, date, HH:mm:ss MM/dd/yyyy}
org.quartz.plugin.triggHistory.triggerCompleteMessage = Trigger {1}.{0} completed firing job {6}.{5} at {4, date, HH:mm:ss MM/dd/yyyy} with resulting trigger instruction code: {9}

Created commons-logging.properties with below entries.
priority=1
org.apache.commons.logging.LogFactory=org.apache.c ommons.logging.impl.LogFactoryImpl
org.apache.commons.logging.Log=org.apache.commons. logging.impl.Log4JLogger

Added below entry in log4j.xml
<category name="log4j.logger.org.apache.component">
<priority value="DEBUG"/>
<appender-ref ref="RFILE"/>
</category>

Can anybody help me how to resolve this.

Thanks
Suresh
I have a Job 2 which has to be fired after completion of Job 1. Can anybody tell me how to achieve this?

Thanks
Suresh
 
Profile for smanepal -> Messages posted by smanepal [3]
Go to:   
Powered by JForum 2.1.7 © JForum Team