[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2006-06-12 Thread abrhaao
I have a problem with the attribute InitialStartDate. It cannot be NOW in this specifically case. I would like to know how can I configure my scheduler-service to execute the SchedulableMBean: - everyday, 02 a.m - every JBoss startup, 5 minutes after the startup thanks View the original

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2006-05-16 Thread fighter79
Hi dimitris. Therefore which is my problem? I don't understand what you tell me. How can i solve this problem? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943284#3943284 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2006-05-16 Thread [EMAIL PROTECTED]
Scheduleables in this context have nothing to do with EJBs. They are simple POJOs or MBeans. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943219#3943219 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943219

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2006-05-13 Thread fighter79
Hello. I have the problem with the scheduler. I follow these phases: 1- Create a session bean that implements Schedulable. 2- Implements the method perform and put there the code to be executedby Scheduler 3- create a jboss-service.xml and put this file in a sar file. Then during of deploy

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-11 Thread ctken
When I tried using a POJO which implements the Schedulable interface and calls a Session bean's method in it's perform method, it always returns NamingException, although I have already put depends tag in the scheduler-service.xml file to make sure the session bean's service

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-03 Thread danj
I am confused by the SchedulePeriod attribute. It seems like its semantics have changed. I thought it meant time between starts (3.2.5). However, in 3.2.7 it seems to mean time from finish until next start. Does anybody know which is intended? Dan !-- | | This example shows how

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-03 Thread schrouf
Up to my knowledge it has always been time from finish until next start. Regards Ulf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3888140#3888140 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3888140

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-03 Thread danj
schrouf wrote : Up to my knowledge it has always been time from finish until next start. Strange. We have a nightly job that takes somewhere between 8 s and 50 min. We have configured it with SchedulePeriod = 24 * 60 * 60 * 1000. Using 3.2.5, the job has started same time every night (01:00),

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-08-03 Thread schrouf
If this is the intended behaviour, it feels strange Well, at least it is the implemented behaviour :-) But I do share your feelings that a rescheduling relativ to the start (and not the end) of the previous invocation most often would be a better solution. A special case would be when the

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-21 Thread mcaughey
For the record it doesn't have to be a Session bean that implements a Schedulable. It can be a POJO. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885955#3885955 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885955

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-20 Thread acardeiradias
I solve my problem. I find how to do that. I leave here my solution, because this could help other people. 1- Create a session bean that implements Schedulable. 2- Implements the method perform and put there the code to be executed by Scheduler 3- create a jboss-service.xml and put this file in

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-15 Thread apinto
acardeiradias wrote : Hello, I have a problem with the scheduler. I saw some examples but nothing to much clear. I have a stateless session bean. And i want to call one business method of this session bean every five minutes. How could i do that? | | Thanks in advance.

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-15 Thread acardeiradias
apinto wrote : acardeiradias wrote : Hello, I have a problem with the scheduler. I saw some examples but nothing to much clear. I have a stateless session bean. And i want to call one business method of this session bean every five minutes. How could i do that? | | | | Thanks in