This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Timer Service

 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • 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
  • 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]
 
Senthil Kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lucas. Your answer helped me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic