Well I havent use the Scheduler in 3.2x but I have been heavisly using home grown job sceduler based on jboss scheduler mbean for Jboss 3.0.x. Basically I modified the jboss scheduler mbean to write a timer tick to a queue. I have a Schedule processor mdb which listen to this queue and executes all my scheduling logic. My job processords are also MDBs -- the Schedule processor mdb sends them a message to process based on the scehduled time. Arguably , this is not the simplest solution but it allows to do all things you want from your schduer system on your own.
Hope this helps.
regards -manish
From: Magesh Prabhu <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: [JBoss-user] Scheduler Question Date: 23 Jul 2003 12:27:18 +0100
Hi Guys,
My application heavily depends on job Scheduling and relies on the notification by the Scheduler. I tried using Quartz Scheduler and ran in to deadlock issues. I'm investigating on the dead-lock issues and I found Quartz Scheduler is the reason for this deadlock.
I looked in to the TimerMBean jboss is providing and trying to find more on it wheter it will suit my needs.
My need is very simple:
I want schedule a job to start after n minutes and when I schedule I will pass few Arguments to the Scheduler. When the scheduler notifies me back, I must be able to get back my arguments.
My Questions are:
1) Will the Scheduler service in JBoss be able to satisfy my requirement.
2) What will happen if I schedule a job for 10 minutes... shutdown the jboss and start it after 20 minutes. Will jboss still remind me of the misfiring (I would expect it to remind me).
3) Are the jobs configurable to be persisted in database like JMS messages.
Please provide me if there are any links which provide info. on the Scheduler
Environment : JBoss3.2.1 on Oracle 8.1.6, Jdk 1.4.1_01
Thanks in advance, Magesh
********************************************************************** This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error, you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Security Warning: Please note that this email has been created in the knowledge that the internet email is not a 100% secure communications medium. We advise that you understand and observe this lack of security when emailing us. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. If you have received this email in error please notify: [EMAIL PROTECTED] **********************************************************************
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user