[jboss-user] [JBoss jBPM] - Re: JEE AS / jBPM / Exception when Oracle DB is restarted
Hi, thx for your answer but i have configured my EJB-timers to use the same DB than jBPM (Oracle XA). I solved my problem at test 3- using new thin drivers for Oracle: ojdbc5.jar insted of ojdbc14.jar in my JEE AS. They are able to reconnect to DB. I have a new problem: When I have an exception using timers (When my jBPM Oracle DB is down, process cannot be updated, so there is an exception), they doesn't work any more, even if i put a repeat attribute. So: t=0 sec: I launch my process with a timer action at 60 seconds and a repeat of 60 seconds... t=20 sec: I shutdown my DB. t=60 sec: There is an exception of my timer because my DB is down, logic. t=80 sec: I restart my DB. Reconnection is OK. t=120 sec: My timer doesn't repeat itself. The behaviour is the same even if i don't restart my DB... (If my DB is started, the repeat works, don't worry i checked this ;-)) So, my problem is: Why the timer doesn't repeat itself? Note that if i restart my AS, the timer re-works. If i restart my timer-service under JMX console of JBoss, the timer re-works too. I would that they works without doing one of these things... Thx. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221228#4221228 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JEE AS / jBPM / Exception when Oracle DB is restarted
Hi all, I found my problem. In ejb2-timer-service.xml, there is a retry policy. By default, it is at 100 ms and only one retry. With 6ms for exemple, my DB can restart and it works but there is only one retry. !-- A retry policy that uses a fixed interval in milli seconds -- 6 That's why i'm going to make my own retry policy. Bye. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221304#4221304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JEE AS / jBPM / Exception when Oracle DB is restarted
I forgot to tell you that i'm using Oracle XA DB with hibernate in JTA. Is there a problem with my ejb2-timer-service.xml which uses DefaultsDS of JBoss which is a HSQLDB ? Thx. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220945#4220945 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JEE AS / jBPM / Exception when Oracle DB is restarted
I do not see any jbpm related error here... you might have more luck in the JBoss AS forum I think. Not that it is of no interest to jBPM since it might be caused by the ejb timers. And yes, it might be related to the config. I unfirtunately have no experience with ejb-timers in jBPM View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220953#4220953 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220953 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JEE AS / jBPM / Exception when Oracle DB is restarted
Thx. I will post this in JBoss AS forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220958#4220958 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JEE AS / jBPM / Exception when Oracle DB is restarted
I dont think that EJB timers should use XA data sources. I don't know if you have it configured that way or the exception is occurring because of something else, but wanted to suggest this to you. While this doesn't give you a definitive answer on the datasource type of EJB timers, if does give you some XA configuration advice for JBPM. http://www.jboss.org/feeds/post/xa_data_sources_and_jbpm View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221148#4221148 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user