Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] Pausing Quartz job until the previous is finished

Bellemo Maurizio

2010-08-25

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi,

 

I have scheduled a job running a service that is parsing huge XML files.

 

I am setting bigger timeouts not to make jobs overlap because they are accessing the DB and giving me a DB Exception of type

 

OptimisticLockingFailureException

 

The question is: is it possible to pause the second job until the first has finished? Is it the right approach?

 

Thanks



--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
©2008 gg3721.com - Jax Systems, LLC, U.S.A.