-
1. Re: Sheduler after complete startup of JBOSS
markyboy Sep 20, 2004 10:59 PM (in response to anny_lut)i had same problem. so i insert scheduler configuration into buttom of jboss-service.xml like this.
true
com.kmp.web.mail.MailBoxCheck
yy-MM-dd HH:mm
01-01-01 05:00
60000
-1
and i make a jar including MailBoxCheck.class. i put it in <jboss-server>\server\default\lib
it works well but it has error msg.
11:16:56,928 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss:service=Scheduler
state: CREATED
I Depend On:
Depends On Me: ]
11:16:56,928 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
11:16:57,008 INFO [Scheduler] Started jboss:service=Scheduler
11:16:57,068 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/conf/jboss-service.xml
11:16:57,078 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 45s:926ms
11:17:00,002 INFO [MailBoxCheck] info - perform, now: Tue Sep 21 11:17:00 JST 2004, remainingRepetitions: -1
11:18:00,008 INFO [MailBoxCheck] info - perform, now: Tue Sep 21 11:18:00 JST 2004, remainingRepetitions: -1
11:19:00,005 INFO [MailBoxCheck] info - perform, now: Tue Sep 21 11:19:00 JST 2004, remainingRepetitions: -1
anyway, it works well. so i do not care about error message above.