Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038568 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | major | have not tried | 2018-05-17 08:55 | 2018-06-04 10:59 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR18Q2.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | ed85e6db704a | ||||
Projection | none | ETA | none | Target Version | 3.0PR18Q2.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038568: can get stuck sending emails | |||||||
Description | If email server is unresponsive, threads trying to send emails can get indefinitely stuck trying to connect to it. | |||||||
Steps To Reproduce | 1. Configure a very slow smtp server 2. Configure Client in Openbravo to make use of it 3. Open a completed Sales Order 4. Click on send email -> Check the threads gets stuck while the email server is not responding | |||||||
Proposed Solution | As quick win, before a more complete solution is implemented by 0038524, add a hardcoded connection timeout (ie. 10min) so in case it is not possible to connect during that time, an exception will be thrown and the thread will be released. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0104571) hgbot (developer) 2018-05-17 17:26 |
Repository: erp/backports/3.0PR18Q2.1 Changeset: ed85e6db704a75323aefec63adab1f31c366d592 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu May 17 17:22:21 2018 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR18Q2.1/rev/ed85e6db704a75323aefec63adab1f31c366d592 [^] fixed bug 38568: can get stuck forever sending emails Added a fixed 10 minutes timeout for communications with smtp servers, this same timeout is applied to connection creation as well as reading responses from server. Note it is not applied to writing operations. --- M src/org/openbravo/erpCommon/utility/poc/EmailManager.java --- |
(0104908) caristu (developer) 2018-06-04 10:59 |
Reviewed |
Issue History | |||
Date Modified | Username | Field | Change |
2018-05-17 08:55 | alostale | Type | defect => backport |
2018-05-17 08:55 | alostale | Target Version | => 3.0PR18Q2.1 |
2018-05-17 17:22 | alostale | Review Assigned To | => caristu |
2018-05-17 17:26 | hgbot | Checkin | |
2018-05-17 17:26 | hgbot | Note Added: 0104571 | |
2018-05-17 17:26 | hgbot | Status | scheduled => resolved |
2018-05-17 17:26 | hgbot | Resolution | open => fixed |
2018-05-17 17:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR18Q2.1/rev/ed85e6db704a75323aefec63adab1f31c366d592 [^] |
2018-06-04 10:59 | caristu | Note Added: 0104908 | |
2018-06-04 10:59 | caristu | Status | resolved => closed |
2018-06-04 10:59 | caristu | Fixed in Version | => 3.0PR18Q2.1 |
Copyright © 2000 - 2009 MantisBT Group |