[OFBiz] Users - Debugging Scheduled Jobs Tip

Lon F. Binder lfb at alexanderinteractive.com
Thu Feb 16 09:40:43 CST 2006


All - 
 
After spending a few hours working through an issue, I'd like to provide an
interesting (albeit obvious in hindsight) tip.
 
We had two different OFBiz installations sharing the same database.  One was
a dev environment, the other was a QA environment (for the same target
application).  This led to different versions of the same codebase across
the two environments.  All in all, this was a fine approach for sharing the
general data (store, catalog, parties, etc.).
 
However, a consequence was overlapping job queue workers.  Depending on the
timing jobs would be worked on by the two applications running.  And because
the code base was slightly different (due to ongoing development), sometimes
the jobs would work and sometimes they wouldn't.
 
TIP: Don't let multiple OFBiz application environments (dev, qa, etc.) share
a single OFBiz database, at least while you're testing/developing scheduled
jobs.
 
 - Lon
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/users/attachments/20060216/f84575c3/attachment-0001.htm


More information about the Users mailing list