How can I persist a TimedObject across server recycles / ejb redeployments?
I create a simple slsb which accesses the TimerService to create a timer. ATM, the timer is scheduled every 3 seconds. My bean implements the TimedObject interface, and I can see the ejbTimeout method being called every few seconds. Great. Now I still need a few things. 1. this can probably be done programatically?, but I want to timeout the timer after say 30 minutes or an hour. It's a job that is polling a printer to see if a print job has completed. After X time it can give up. 2. i can't let the job get "lost" if the server goes down, or if i redeploy the ejb. so far, when i redeploy the ejb, the job stops. when i restart the server, the job stops. any hints how i can achieve this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938767#3938767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938767 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
