atm its cluster with 3 instances, everything on one machine. Ive checked 10 times in glassfish/domains/domain1/logs/server.log and there are no entries from time i run ejb client.
Now im sure its timer because ive put it into comment, deployed on server and everything works fine (except of logic from timer ofcourse ;)).
Are there any rules in using timers with endpoints? Im asking 1 more time because this timer works normal when i use just server instances (without setting endpoints property).
Maybe i gonna write how i create timer.
@Resource javax.ejb.TimerService timerService;
public void utworzTimer(String login){//method which i call to run a timer
this.login=login;
timerService.createTimer(0, 420000, "timer_logowania");
}
@Timeout
public void timer(javax.ejb.Timer timer){ this one is working on database
//...
}
Any solutions?
[Message sent by forum member 'freeq1986' (freeq1986)]
http://forums.java.net/jive/thread.jspa?messageID=330261