Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030798
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminorhave not tried2015-08-03 16:272015-11-16 08:51
ReportershuehnerView Statuspublic 
Assigned ToRetail 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q3.4
StatusclosedFix in branchFixed in SCM revision14753c185bd5
ProjectionnoneETAnoneTarget Version3.0PR15Q3.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030798: Lots of errors in log during tomcat shutdown related to new import entry project

DescriptionI.e. in the try-ret-modules test there are often or always many errors on tomcat shutdown which look related to the new import entry project.

Example:
https://ci.openbravo.com/job/try-ret-modules-pgsql/393/artifact/SANDBOX/tomcat-logs/try-ret-modules-pgsql.log [^]

Note: there are many (like 50) errors with all that content in that
2015-08-03 07:13:04,457 [Import Entry Archiver] ERROR org.openbravo.service.importprocess.ImportEntryArchiveManager - WELD-001303 No active contexts for scope type javax.enterprise.context.Dependent
org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.Dependent
    at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:596)
    at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:626)
    at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:653)
    at org.jboss.weld.bean.builtin.InstanceImpl.iterator(InstanceImpl.java:133)
    at org.openbravo.service.importprocess.ImportEntryArchiveManager$ImportEntryArchiveThread.run(ImportEntryArchiveManager.java:151)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

If that bug also happens in Q3 (probably likely) that this should be backported also.
Steps To Reproducerun latest retail for in try-retail and check openbravo.log after the job finishes
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0030485 closedmtaal Retail Modules Lots of errors in log during tomcat shutdown related to new import entry project 

-  Notes
(0081508)
hgbot (developer)
2015-11-05 11:43

Repository: erp/backports/3.0PR15Q3.4
Changeset: 14753c185bd512b409f7a299ce9bc739d3add171
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Thu Nov 05 11:43:28 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/14753c185bd512b409f7a299ce9bc739d3add171 [^]

Fixed issue 30798. Lots of errors in log during tomcat shutdown related to new import entry project.

---
M src/org/openbravo/service/importprocess/ImportEntryArchiveManager.java
M src/org/openbravo/service/importprocess/ImportEntryManager.java
---
(0081854)
hgbot (developer)
2015-11-15 12:57

Repository: erp/backports/3.0PR15Q3.4
Changeset: 3af9283018735bb5784cd6c256b4d4f0b2d8ba4d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Nov 15 12:50:48 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/3af9283018735bb5784cd6c256b4d4f0b2d8ba4d [^]

Related to issue 30798: Lots of errors in log during tomcat shutdown related to new import entry project
Added additional checks to prevent log errors

---
M src/org/openbravo/service/importprocess/ImportEntryArchiveManager.java
M src/org/openbravo/service/importprocess/ImportEntryManager.java
---
(0081855)
mtaal (manager)
2015-11-15 12:59

Reviewed the changes done by Antonio, they look/work fine. Requested Antonio to look at my changeset, if he is fine the issue can be closed.

- Issue History
Date Modified Username Field Change
2015-09-09 09:45 marvintm Type defect => backport
2015-09-09 09:45 marvintm Target Version => RR15Q3.1
2015-09-15 17:54 marvintm Project Retail Modules => Openbravo ERP
2015-09-15 17:55 marvintm Modules => Core
2015-09-15 17:55 marvintm Category Web POS => A. Platform
2015-09-15 17:55 marvintm Target Version RR15Q3.1 =>
2015-11-04 12:13 mtaal Assigned To mtaal => Retail
2015-11-04 13:00 shuehner Target Version => 3.0PR15Q3.4
2015-11-05 11:43 hgbot Checkin
2015-11-05 11:43 hgbot Note Added: 0081508
2015-11-05 11:43 hgbot Status scheduled => resolved
2015-11-05 11:43 hgbot Resolution open => fixed
2015-11-05 11:43 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/14753c185bd512b409f7a299ce9bc739d3add171 [^]
2015-11-06 14:41 alostale Review Assigned To alostale => marvintm
2015-11-15 12:57 hgbot Checkin
2015-11-15 12:57 hgbot Note Added: 0081854
2015-11-15 12:59 mtaal Note Added: 0081855
2015-11-16 08:51 marvintm Status resolved => closed
2015-11-16 08:51 marvintm Fixed in Version => 3.0PR15Q3.4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker