Dev - problems with multiple threads being started

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Dev - problems with multiple threads being started

Stephens, Drew
Message
I have a problem with OFBiz's e-commerce module.  I have a custom Sales Tax calculation logic that is being duplicated, the result is that the calculated Sales Tax is being duplicated, sometime even repeated 4 or 5 times.  There doesn't appear to be any pattern to this occurring, different items, different ship states, different times of days, etc.
 
After reviewing the logs, I discovered that multiple threads were being started that processed the same programming, the number of time the Sales Tax is repeated matches the number of threads kicked of. 
 
My questions are:  How are these threads being kicked off, we don't have any thread specific logic in our custom logic?  What can I do to determine the cause and correct it?
 
Thanks for any help.
 

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

===============================================================================

 

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - problems with multiple threads being started

David E. Jones

Could you describe how your custom sales tax logic is implemented and how it is being called?

-David


Stephens, Drew wrote:

> I have a problem with OFBiz's e-commerce module.  I have a custom Sales
> Tax calculation logic that is being duplicated, the result is that the
> calculated Sales Tax is being duplicated, sometime even repeated 4 or 5
> times.  There doesn't appear to be any pattern to this occurring,
> different items, different ship states, different times of days, etc.
>  
> After reviewing the logs, I discovered that multiple threads were being
> started that processed the same programming, the number of time the
> Sales Tax is repeated matches the number of threads kicked of.
>  
> My questions are:  How are these threads being kicked off, we don't have
> any thread specific logic in our custom logic?  What can I do to
> determine the cause and correct it?
>  
> Thanks for any help.
>  
>
> */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
>
> ===============================================================================
>
>
>  
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev