aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Timer Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Timer Service" Watch "Timer Service" New topic
Author

Timer Service

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

Hi,

I am using Eclipse Indigo and Glassfish 3.1 server.

I want to develop timer:

*** it does not work [method is not invoked]:



*** it works like a charm:



Can anyone give me some explanation?

* Database for storing timers is specified. In logs there is no information about any failure. I have seen: "keepstate is true and will not create new auto timers during deployment" only.


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

The information: "keepstate is true and will not create new auto timers during deployment" was a clue.

If you want to successfully redeploy your persistent @Schedule timers you have to uncheck one option from Eclipse Glassfish.


[Thumbnail for glassfish_options.jpg]

Senthil Kumar
Greenhorn

Joined: Jun 21, 2005
Posts: 2
Thanks Lucas. Your answer helped me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Timer Service