users@glassfish.java.net

timer fires twice at the same time

From: Glenn Holmer <gholmer_at_weycogroup.com>
Date: Tue, 04 May 2010 17:01:16 -0500

We have a Singleton EJB with a method that uses the @Schedule annotation
like this:

@Schedule(minute="0,15,30,45",hour="*")

We just saw that one of them fired twice the first time the timer came
up after GlassFish was started (GlassFish started at 13:20, two sets of
messages in our log stamped 13:30). What can cause this? Shouldn't the
@Singleton annotation keep that from happening?

-- 
____________________________________________________________
Glenn Holmer                          gholmer_at_weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601