aspose file tools*
The moose likes Spring and the fly likes My Schedular was sleeping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "My Schedular was sleeping" Watch "My Schedular was sleeping" New topic
Author

My Schedular was sleeping

NisumSandeep Jakkaraju
Greenhorn

Joined: Jul 13, 2010
Posts: 4
Hi All

Please find below the log of my schedular:

<bean id="agentConfigTrigger"
class="org.springframework.scheduling.quartz.SimpleTriggerBean">
<!-- see the example of method invoking job above -->
<property name="jobDetail" ref="agentConfigJobDetail" />
<!-- 10 seconds -->
<property name="startDelay" value="10" />
<!-- repeat every 5 minutes -->
<property name="repeatInterval" value="60000" />
</bean>



and log




2010-07-12 07:34:06,025 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 07:34:06,035 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:0

2010-07-12 07:34:06,035 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Completed Agent Config. 10

2010-07-12 07:35:06,024 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 07:35:06,035 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:0

2010-07-12 07:35:06,035 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Completed Agent Config. 11

2010-07-12 07:36:06,030 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 07:36:06,040 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:0

2010-07-12 07:36:06,041 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Completed Agent Config. 11

2010-07-12 07:37:06,025 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 07:37:06,035 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:0

2010-07-12 07:37:06,035 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Completed Agent Config. 10

2010-07-12 08:51:06,028 INFO [com.kerio.ci.scheduler.agentconfig.job.TransferAgentConfigJob] Fetching Agent config...

2010-07-12 08:51:06,153 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] Agentconfig List Size:31

2010-07-12 08:51:06,153 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] CustomerId:1

2010-07-12 08:51:06,153 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] AgentId:563

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] ConfigName:Apps

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] CustomerId:1

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] AgentId:563

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] ConfigName:ParamConfig

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] CustomerId:1

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] AgentId:563

2010-07-12 08:51:06,154 INFO [com.kerio.ci.scheduler.agentconfig.dao.TransferAgentConfigDAO] ConfigName:ParamConfig

2010-07-12 08:51:06,154 INFO


Can anyone one tell me what happened in this hour ?

I still dont know what you did on that hour.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Was the service down or something ? At 08:51, there are 31 records fetched. The previous fetch, 0 records. What happened in between ?

I still dont know what you did on that hour.

I was at the office


[My Blog]
All roads lead to JavaRanch
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

And by the way, the comments in agentConfigTrigger are not correct. These are 10 milliseconds, and 1 minute.
NisumSandeep Jakkaraju
Greenhorn

Joined: Jul 13, 2010
Posts: 4
Yes that is my concern it should run every 1 minute and there is no log between those 2 timestamps
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

What kind of application is this ? Is it running on a server ? If yes, check the server logs.
NisumSandeep Jakkaraju
Greenhorn

Joined: Jul 13, 2010
Posts: 4
Sir it is a console application.
There other jobs also running on the same machine for which I can see the logs during that period.
This application also was not down during that period. It is still up and running.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My Schedular was sleeping