|
[ https://issues.apache.org/jira/browse/OFBIZ-9827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16197013#comment-16197013 ] Pradhan Yash Sharma edited comment on OFBIZ-9827 at 10/9/17 2:00 PM: --------------------------------------------------------------------- Hello Taher, I am working to explore this issue in depth, webResourceInfos are loading correctly as per my observations till now (I may be wrong). OFBiz loads components and webapps via the future task. which is the starting point. Then it loads ServiceEcaUtil, EntityEcaUtil and DispatchContext through GLOBAL_FORK_JOIN these internally uses UtilCache which uses CacheLine which has expired time added to every line item. kJoinPool-1-worker-0 comes and picks a task and start executing, while Cache item is expired and reloaded, kJoinPool-1-worker-1 comes and sees items into the list and starts executing the same job (I guess here is the catch!!!). Complete webapp component is not loaded twice only a few items of the webapp is loaded. I am attaching my logs please have a look at item : {code} 2017-10-09 19:14:24,828 |kJoinPool-1-worker-1 |ServiceEcaUtil |I| Loaded [10] Service ECA Rules from file:/home/yash/sandbox/ofbiz-trunk/ofbiz-framework/applications/marketing/servicedef/secas.xml 2017-10-09 19:14:25,947 |kJoinPool-1-worker-3 |ServiceEcaUtil |I| Loaded [10] Service ECA Rules from file:/home/yash/sandbox/ofbiz-trunk/ofbiz-framework/applications/marketing/servicedef/secas.xml 2017-10-09 19:14:24,812 |kJoinPool-1-worker-0 |ServiceEcaUtil |I| Loaded [3] Service ECA Rules from file:/home/yash/sandbox/ofbiz-trunk/ofbiz-framework/framework/common/servicedef/secas_test.xml 2017-10-09 19:14:25,925 |kJoinPool-1-worker-3 |ServiceEcaUtil |I| Loaded [3] Service ECA Rules from file:/home/yash/sandbox/ofbiz-trunk/ofbiz-framework/framework/common/servicedef/secas_test.xml 2017-10-09 19:14:26,833 |0.0.0.0-startStop-1 |SeoConfigUtil |I| Parsing ^.*/.*$ 2017-10-09 19:14:28,483 |0.0.0.0-startStop-1 |SeoConfigUtil |I| Parsing ^.*/.*$ {code} Please refer the attached logs.tar.gz file for the logs files. was (Author: pradhanyashsharma): Hello Taher, I am working to explore this issue in depth, webResourceInfos are loading correctly as per my observations till now (I may be wrong). OFBiz loads components and webapps via the future task. which is the starting point. Then it loads ServiceEcaUtil, EntityEcaUtil and DispatchContext through GLOBAL_FORK_JOIN these internally uses UtilCache which uses CacheLine which has expired time added to every line item. kJoinPool-1-worker-0 comes and picks a task and start executing, while Cache item is expired and reloaded, kJoinPool-1-worker-1 comes and sees items into the list and starts executing the same job (I guess here is the catch!!!). Complete webapp component is not loaded twice only a few items of the webapp is loaded. I am attaching my logs please have a look at item : 2017-10-09 19:14:24,828 |kJoinPool-1-worker-1 |ServiceEcaUtil |I| Loaded [10] Service ECA Rules from file:/home/yash/sandbox/ofbiz-trunk/ofbiz-framework/applications/marketing/servicedef/secas.xml 2017-10-09 19:14:25,947 |kJoinPool-1-worker-3 |ServiceEcaUtil |I| Loaded [10] Service ECA Rules from file:/home/yash/sandbox/ofbiz-trunk/ofbiz-framework/applications/marketing/servicedef/secas.xml 2017-10-09 19:14:24,812 |kJoinPool-1-worker-0 |ServiceEcaUtil |I| Loaded [3] Service ECA Rules from file:/home/yash/sandbox/ofbiz-trunk/ofbiz-framework/framework/common/servicedef/secas_test.xml 2017-10-09 19:14:25,925 |kJoinPool-1-worker-3 |ServiceEcaUtil |I| Loaded [3] Service ECA Rules from file:/home/yash/sandbox/ofbiz-trunk/ofbiz-framework/framework/common/servicedef/secas_test.xml 2017-10-09 19:14:26,833 |0.0.0.0-startStop-1 |SeoConfigUtil |I| Parsing ^.*/.*$ 2017-10-09 19:14:28,483 |0.0.0.0-startStop-1 |SeoConfigUtil |I| Parsing ^.*/.*$ Please refer the attached logs.tar.gz file for the logs files. > Components loading twice while starting OFBiz > --------------------------------------------- > > Key: OFBIZ-9827 > URL: https://issues.apache.org/jira/browse/OFBIZ-9827 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 14.12, Trunk, Release Branch 15.12, Release Branch 16.11 > Reporter: Pradhan Yash Sharma > Assignee: Pradhan Yash Sharma > Attachments: logs.tar.gz > > > Components loading multiple times while OFBiz starts. > While CatalinaContainer loads webapps it creates the future task, which loads more than once (depends on numbers of System cores and speed). -- This message was sent by Atlassian JIRA (v6.4.14#64029) |
| Free forum by Nabble | Edit this page |
