Dear JBoss 4.0 users,

I have created 2 Timer session beans. They should be executed every minute 
(inteval duration = 60000). But when I look at the logs, these timers are 
executed twice per minute! Here are the logs:
anonymous wrote : 09:57:37,156 INFO  [UtilisateursOnlineTimerBean] Traitement 
utilisateurs online
  | 09:58:33,328 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 09:58:33,390 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 09:58:37,109 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 09:58:37,156 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 09:59:33,328 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 09:59:33,421 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 09:59:37,109 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 09:59:37,156 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 10:00:33,328 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 10:00:36,015 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 10:00:37,109 INFO  [EvenementsPrevTimerBean] Traitement ÃvÃnements 
prÃvisionnels
  | 10:00:37,203 INFO  [UtilisateursOnlineTimerBean] Traitement utilisateurs 
online
  | 

 I have checked the Timers table in the HSQL database, there are 2 rows 
anonymous wrote : 1     
[target=jboss.j2ee:jndiName=ejb/evenements/EvenementsPrevTimer,service=EJB]     
2004-12-01 00:00:00.0   60000           [EMAIL PROTECTED]
  | 1   
[target=jboss.j2ee:jndiName=ejb/gestionUtilisateurs/UtilisateursOnlineTimer,service=EJB]
        2004-12-01 00:00:00.0   60000           [EMAIL PROTECTED]
You can see that interval is properly set to 60000.  They have both the same ID 
set to 1, is it normal?

I noticed that when I stopped JBoss, I got the following warning:
anonymous wrote : 10:19:17,546 WARN  [GeneralPurposeDatabasePersistencePlugin] 
Unable to remove timer for: 1
  | 
What is this?

Can you explain me what's happening please?
Thanks for your help,
Gerald

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859719#3859719

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859719


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to