Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030682Retail ModulesWeb POSpublic2015-08-03 16:272015-09-09 09:24
shuehner 
mtaal 
immediateminorhave not tried
closedduplicate 
5
 
RR15Q4RR15Q4 
alostale
No
0030682: Lots of errors in log during tomcat shutdown related to new import entry project
I.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.
run latest retail for in try-retail and check openbravo.log after the job finishes
No tags attached.
duplicate of defect 0030485 closed mtaal Lots of errors in log during tomcat shutdown related to new import entry project 
Issue History
2015-08-26 23:07mtaalTypedefect => backport
2015-08-26 23:07mtaalTarget Version => RR15Q4
2015-09-09 09:24mtaalRelationship replacedduplicate of 0030485
2015-09-09 09:24mtaalNote Added: 0080261
2015-09-09 09:24mtaalStatusscheduled => closed
2015-09-09 09:24mtaalResolutionopen => duplicate
2015-09-09 09:24mtaalFixed in Version => RR15Q4

Notes
(0080261)
mtaal   
2015-09-09 09:24   
I think it is a duplicate of 30485, after that one is fixed I did not see anymore errors. I checked the past 4 try builds I did:
https://ci.openbravo.com/view/try-retail/job/try-ret-modules-pgsql/753/artifact/SANDBOX/tomcat-logs/try-ret-modules-pgsql.log [^]

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

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

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