[JBoss-user] [EJB/JBoss] - Re: Another problem with Timer Service: duplication
It was a bug. http://sourceforge.net/tracker/index.php?func=detail&aid=1078243&group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858317#3858317 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858317 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Another problem with Timer Service: duplication
There isn't a crash in my example, my problem occurs while Jboss is starting. Here are the steps I think Jboss works with my timers: - Jboss deploys my application - Jboss starts my application - The ServletContext of my application is initialized - My timers are created by my ServletContextListener - Jboss stores my timers in the database - Jboss starts my timers - Jboss restores and starts all timers found in the database (my timers too, although they didn't crashed, they are just created) - My timers are duplicated. Actually, if I deploy my application when Jboss has already started, the duplication doesn't occur. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857194#3857194 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857194 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Another problem with Timer Service: duplication
When you use database persistence for timers, timers that have expired while the server was down (from a shutdown or a crash till a start/restart) are immediately called after the server has completely started up. I don't fully understand your question about if timers are restored after a crash, but I'll try to answer what I think is what you ask :P When using database persistence, timers are automatically stored in a database immediately during creation, so there's no delay between the creation and the persistence, so then if there's a crash just after the storing of the timer, when the server is restarted all the timers are restored. About clustering, I cannot answer you because I've never use it right now... But I suppose there are no problems with it because in the "all" configuration, which is the best choice when using clustering, it's configured, so I think it's because it works well with it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856976#3856976 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856976 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Another problem with Timer Service: duplication
Thank you for your reply. I can change the ejb-deployer.xml file to avoid to store my timers in the database, but then I don't know if the timers can be restored after crashes and if they work in a cluster environment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856648#3856648 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856648 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Another problem with Timer Service: duplication
If you're using JBoss 4 (don't know if the same is in JBoss 3.2), you can configure the Timer Service editing the file ejb-deployer.xml file in the deploy dir. By default, as you guessed, is configured to persist the timers in the database, but in that file you can change this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856634#3856634 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856634 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user