• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Timer Service

 
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
glassfish_options.jpg
[Thumbnail for glassfish_options.jpg]
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Lucas. Your answer helped me.
 
reply
    Bookmark Topic Watch Topic
  • New Topic