Posted by
Stephens, Drew on
Jul 06, 2006; 10:11pm
URL: http://ofbiz.116.s1.nabble.com/Duplicate-orders-being-sent-out-of-ofbiz-tp169456p169457.html
This problem has happened twice in the last 2-3 months, each time 5 or 6
order were duplicated, no errors in the log, no indication of problems.
Like I wrote before. It's almost like the communication between our
server the as400 repeats itself. I realize this isn't an answer, but I
don't know how else to describe it.
Drew Stephens
Rippe & Kingston Systems, Inc.
[hidden email]
Phone: (513) 977-4573
Visit us at: www.rippe.com
1077 Celestial Street, Cincinnati, Ohio 45202-1696
========================================================================
=======
-----Original Message-----
From: BJ Freeman [mailto:
[hidden email]]
Sent: Thursday, July 06, 2006 4:26 PM
To:
[hidden email]
Subject: Re: Duplicate orders being sent out of ofbiz
you answered my questions.
clearCartForOrder is what activated you code.
and your are not using one of the current versions of ofbiz. The recent
versions had a file structure Applications base Framework Hot-spot
older versions
had
components for both the applications and framework.
this is going to be kind of hard to trouble shoot, since the code your
using, I don't have a copy of.
hopefully someone running code close to yours can help.
Stephens, Drew sent the following on 7/6/2006 12:53 PM:
> I am not a JAVA programmer, so my answer will not be technical.
>
> We created a customer service class (RemoteOrderServices) which
> executes the various tasks. This service is executed from the
> clearCartForOrder method in the ShoppingCartEvents Class.
>
> As for the version, where do I find it? The documentation version I
> have is Revision 20050223.
>
> I realize my answers probably don't help much, but this project is so
> extensive I tend to get lost in it.
>
> Drew Stephens
> Rippe & Kingston Systems, Inc.
>
[hidden email]
> Phone: (513) 977-4573
>
> Visit us at: www.rippe.com
>
> 1077 Celestial Street, Cincinnati, Ohio 45202-1696
>
> ======================================================================
> ==
> =======
>
>
>
> -----Original Message-----
> From: BJ Freeman [mailto:
[hidden email]]
> Sent: Thursday, July 06, 2006 2:48 PM
> To:
[hidden email]
> Subject: Re: Duplicate orders being sent out of ofbiz
>
>
> which version of ofbiz are you using?
> how are you activating your code?
>
> Stephens, Drew sent the following on 7/6/2006 11:42 AM:
>> We are using the ecommerce module of ofbiz and experiencing an
>> intermittent problem.
>>
>> We have written some custom code to transfer the order data
>> (ORDER_HEADER, ORDER_ITEM, etc.) into a backend ERP housed on an
>> iSeries (as400). Every now and then (once every month or two) the
>> orders are duplicated when transmitted to the iSeries. The orders
are
>
>> fine within ofbiz, its as two threads are being initiated (in
>> parallel) each sending the data.
>>
>> There is nothing explicit in the custom code to explain this. In
>> fact, we have some validations in place to ensure only one
>> transmission is sent.
>>
>> Does anyone have any ideas/suggestions? Any and all help will be
>> appreciated.
>>
>>
>> Drew Stephens
>> Rippe & Kingston Systems, Inc.
>>
[hidden email]
>> Phone: (513) 977-4573
>>
>> Visit us at: www.rippe.com
>>
>> 1077 Celestial Street, Cincinnati, Ohio 45202-1696
>>
>> =====================================================================
>> =
>> ==
>> =======
>>
>>
>>
>