[jboss-dev-forums] [Design of Kosmos] - serviceResultUpdaterJob not traversing repository
sstuart4
do-not-reply at jboss.com
Mon Jul 17 17:06:51 EDT 2006
Hi, I am currently trying to implement the scheduler functionality new to Version 0.2.0RC2. The problem I am having seems to be minor since I am not getting any errors, its just that the service is only taking a very short time to run when I know it should be 10+ mins or so... Here are the last few lines of my JBoss server log:
2006-07-17 15:41:50,272 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 2m:18s:405ms
| 2006-07-17 15:41:53,004 DEBUG [org.quartz.simpl.SimpleJobFactory] Producing instance of Job 'DEFAULT.serviceResultUpdaterJob', class=hu.midori.kosmos.server.ServiceResultUpdaterJob
| 2006-07-17 15:41:53,005 DEBUG [org.quartz.core.JobRunShell] Calling execute on job DEFAULT.serviceResultUpdaterJob
| 2006-07-17 15:41:53,009 INFO [hu.midori.kosmos.server.ServiceResultUpdaterJob] Running scheduled update job...
| 2006-07-17 15:41:53,010 INFO [hu.midori.kosmos.server.ServiceResultUpdaterJob] Update job completed.
As you can see, this is taking less than a second for a rather large repository.
The portlet.xml should be hitting the trunk of my repo and the org.springframework.scheduling.quartz.SimpleTriggerBean configuration in the kosmos-services-servlet.xml is set like this:
<bean id="serviceResultUpdateTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerBean">
| <property name="jobDetail" ref="serviceResultUpdaterJob"/>
| <property name="startDelay" value="10000"/>
| <property name="repeatInterval" value="7200000"/>
| </bean>
BTW, I am running the jboss-portal-2.2.0-bundled install. Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958616#3958616
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958616
More information about the jboss-dev-forums
mailing list