[ 
https://issues.apache.org/jira/browse/OFBIZ-13166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895095#comment-17895095
 ] 

Jacques Le Roux commented on OFBIZ-13166:
-----------------------------------------

Actually InvoiceReport.groovy, the supposed "culprit" is not the problem. 
Actually there is no problems at all.

Here is the 1st ofbiz.log about it:


{noformat}
2024-11-02 19:07:00,369 |jsse-nio-8443-exec-2 |ControlServlet                
|T| [[[accounting::main (Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2024-11-02 19:07:00,369 |jsse-nio-8443-exec-2 |VisitHandler                  
|I| Found visitorId [10100] in cookie
2024-11-02 19:07:00,394 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.0s, 0 requests, 0 views in 
file:/C:/projectsASF/Git/ofbiz-framework/framework/common/webcommon/WEB-INF/handlers-controller.xml
2024-11-02 19:07:00,399 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.009s, 51 requests, 22 views in 
file:/C:/projectsASF/Git/ofbiz-framework/framework/common/webcommon/WEB-INF/common-controller.xml
2024-11-02 19:07:00,404 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.0s, 4 requests, 0 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/commonext/webapp/WEB-INF/controller.xml
2024-11-02 19:07:00,431 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.001s, 7 requests, 5 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceCpd.xm
l
2024-11-02 19:07:00,453 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.001s, 9 requests, 6 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceApplic
ationCpd.xml
2024-11-02 19:07:00,475 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.0s, 1 requests, 1 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceAttribut
eCpd.xml
2024-11-02 19:07:00,504 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.0s, 1 requests, 1 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceContactM
echCpd.xml
2024-11-02 19:07:00,537 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.001s, 1 requests, 1 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceConten
tCpd.xml
2024-11-02 19:07:00,567 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.001s, 9 requests, 5 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceItemCp
d.xml
2024-11-02 19:07:00,590 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.001s, 1 requests, 1 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceNoteCp
d.xml
2024-11-02 19:07:00,628 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.001s, 3 requests, 2 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceRoleCp
d.xml
2024-11-02 19:07:00,654 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.0s, 1 requests, 1 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceStatusCp
d.xml
2024-11-02 19:07:00,683 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.001s, 8 requests, 4 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceTermCp
d.xml
2024-11-02 19:07:00,707 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.001s, 4 requests, 3 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/accounting/AccountingInvoiceTimeEn
tryCpd.xml
2024-11-02 19:07:00,707 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.298s, 0 requests, 0 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/webapp/accounting/WEB-INF/accounting-cont
roller.xml
2024-11-02 19:07:00,772 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.387s, 518 requests, 247 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/webapp/accounting/WEB-INF/controller.
xml
2024-11-02 19:07:00,776 |jsse-nio-8443-exec-2 |RequestHandler                
|I| This is the first request in this visit. Hidden sessionId by default.
2024-11-02 19:07:00,781 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getUserPreference] finished in [2] milliseconds
2024-11-02 19:07:00,783 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getUserPreference] finished in [1] milliseconds
2024-11-02 19:07:00,805 |jsse-nio-8443-exec-2 |RequestHandler                
|I| Rendering View [main].  Hidden sessionId by default.
2024-11-02 19:07:00,807 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getUserPreferenceGroup] finished in [1] 
milliseconds
2024-11-02 19:07:00,828 |jsse-nio-8443-exec-2 |ScreenFactory                 
|I| Got 13 screens in 0.017s from: 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/CommonScreens.xml
2024-11-02 19:07:00,962 |jsse-nio-8443-exec-2 |Log                           
|I| [CommonPermissionServices.xml#genericBasePermissionCheck line 59] This 
simple-method-call is deprecated! Please use a service-call of 
genericBasePermissionC
heck instead.
2024-11-02 19:07:01,069 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/genericBasePermissionCheck] finished in [106] 
milliseconds
2024-11-02 19:07:01,089 |jsse-nio-8443-exec-2 |UtilProperties                
|I| ResourceBundle DefaultMessagesUiLabels (fr) created in 0.019s with 3 
properties
2024-11-02 19:07:01,090 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/acctgBasePermissionCheck] finished in [261] 
milliseconds
2024-11-02 19:07:01,358 |jsse-nio-8443-exec-2 |UtilProperties                
|I| ResourceBundle OrderUiLabels (fr) created in 0.117s with 979 properties
2024-11-02 19:07:01,405 |jsse-nio-8443-exec-2 |UtilProperties                
|I| ResourceBundle ManufacturingUiLabels (fr) created in 0.047s with 366 
properties
2024-11-02 19:07:01,411 |jsse-nio-8443-exec-2 |ScreenFactory                 
|I| Got 1 screens in 0.004s from: 
file:/C:/projectsASF/Git/ofbiz-framework/applications/commonext/widget/CommonScreens.xml
2024-11-02 19:07:01,490 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getLastSystemInfoNote] finished in [46] 
milliseconds
2024-11-02 19:07:01,508 |jsse-nio-8443-exec-2 |ScreenFactory                 
|I| Got 30 screens in 0.004s from: 
file:/C:/projectsASF/Git/ofbiz-framework/framework/common/widget/CommonScreens.xml
2024-11-02 19:07:01,564 |jsse-nio-8443-exec-2 |ScreenFactory                 
|I| Got 29 screens in 0.008s from: 
file:/C:/projectsASF/Git/ofbiz-framework/themes/common-theme/widget/CommonScreens.xml
2024-11-02 19:07:01,799 |jsse-nio-8443-exec-2 |ScreenFactory                 
|I| Got 23 screens in 0.006s from: 
file:/C:/projectsASF/Git/ofbiz-framework/applications/accounting/widget/InvoiceScreens.xml
2024-11-02 19:07:05,093 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [2092] 
milliseconds
2024-11-02 19:07:05,101 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [5] 
milliseconds
2024-11-02 19:07:05,108 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [5] 
milliseconds
2024-11-02 19:07:05,113 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [3] 
milliseconds
2024-11-02 19:07:05,116 |jsse-nio-8443-exec-2 |Log                           
|I| [CommonPermissionServices.xml#genericBasePermissionCheck line 59] This 
simple-method-call is deprecated! Please use a service-call of 
genericBasePermissionC
heck instead.
2024-11-02 19:07:05,120 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/genericBasePermissionCheck] finished in [3] 
milliseconds
2024-11-02 19:07:05,121 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/acctgPrefPermissionCheck] finished in [6] 
milliseconds
2024-11-02 19:07:05,336 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyAccountingPreferences] finished in [222] 
milliseconds
2024-11-02 19:07:05,435 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoiceRunningTotal] finished in [3470] 
milliseconds
2024-11-02 19:07:06,709 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [1184] 
milliseconds
2024-11-02 19:07:06,800 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.004s, 30 requests, 13 views in 
file:/C:/projectsASF/Git/ofbiz-framework/framework/common/webcommon/WEB-INF/security-controller.xml
2024-11-02 19:07:06,841 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.032s, 347 requests, 134 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/content/webapp/content/WEB-INF/controller.xml
2024-11-02 19:07:06,867 |jsse-nio-8443-exec-2 |ConfigXMLReader               
|I| controller loaded: 0.088s, 269 requests, 110 views in 
file:/C:/projectsASF/Git/ofbiz-framework/applications/party/webapp/partymgr/WEB-INF/controller.xml
2024-11-02 19:07:07,018 |jsse-nio-8443-exec-2 |UtilProperties                
|I| ResourceBundle CommonEntityLabels (fr) created in 0.14s with 1399 properties
2024-11-02 19:07:07,028 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [3] milliseconds
2024-11-02 19:07:07,050 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [4] milliseconds
2024-11-02 19:07:07,075 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [4] milliseconds
2024-11-02 19:07:07,111 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [5] 
milliseconds
2024-11-02 19:07:07,118 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [5] 
milliseconds
2024-11-02 19:07:07,125 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [6] 
milliseconds
2024-11-02 19:07:07,134 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [7] 
milliseconds
2024-11-02 19:07:07,136 |jsse-nio-8443-exec-2 |Log                           
|I| [CommonPermissionServices.xml#genericBasePermissionCheck line 59] This 
simple-method-call is deprecated! Please use a service-call of 
genericBasePermissionC
heck instead.
2024-11-02 19:07:07,138 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/genericBasePermissionCheck] finished in [2] 
milliseconds
2024-11-02 19:07:07,140 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/acctgPrefPermissionCheck] finished in [4] 
milliseconds
2024-11-02 19:07:07,144 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyAccountingPreferences] finished in [9] 
milliseconds
2024-11-02 19:07:07,145 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoiceRunningTotal] finished in [41] 
milliseconds
2024-11-02 19:07:07,182 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [6] 
milliseconds
2024-11-02 19:07:07,186 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [3] 
milliseconds
2024-11-02 19:07:07,191 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [3] 
milliseconds
2024-11-02 19:07:07,197 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [5] 
milliseconds
2024-11-02 19:07:07,203 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [4] 
milliseconds
2024-11-02 19:07:07,208 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [4] 
milliseconds
2024-11-02 19:07:07,210 |jsse-nio-8443-exec-2 |Log                           
|I| [CommonPermissionServices.xml#genericBasePermissionCheck line 59] This 
simple-method-call is deprecated! Please use a service-call of 
genericBasePermissionC
heck instead.
2024-11-02 19:07:07,212 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/genericBasePermissionCheck] finished in [2] 
milliseconds
2024-11-02 19:07:07,214 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/acctgPrefPermissionCheck] finished in [4] 
milliseconds
2024-11-02 19:07:07,219 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyAccountingPreferences] finished in [9] 
milliseconds
2024-11-02 19:07:07,220 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoiceRunningTotal] finished in [44] 
milliseconds
2024-11-02 19:07:07,249 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [4] milliseconds
2024-11-02 19:07:07,272 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [3] milliseconds
2024-11-02 19:07:07,292 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [4] milliseconds
2024-11-02 19:07:07,307 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [3] milliseconds
2024-11-02 19:07:07,319 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [2] milliseconds
2024-11-02 19:07:07,331 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyNameForDate] finished in [3] milliseconds
2024-11-02 19:07:07,353 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [3] 
milliseconds
2024-11-02 19:07:07,365 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [9] 
milliseconds
2024-11-02 19:07:07,371 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [4] 
milliseconds
2024-11-02 19:07:07,377 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [5] 
milliseconds
2024-11-02 19:07:07,382 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [4] 
milliseconds
2024-11-02 19:07:07,386 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoicePaymentInfoList] finished in [3] 
milliseconds
2024-11-02 19:07:07,387 |jsse-nio-8443-exec-2 |Log                           
|I| [CommonPermissionServices.xml#genericBasePermissionCheck line 59] This 
simple-method-call is deprecated! Please use a service-call of 
genericBasePermissionC
heck instead.
2024-11-02 19:07:07,389 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/genericBasePermissionCheck] finished in [1] 
milliseconds
2024-11-02 19:07:07,390 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/acctgPrefPermissionCheck] finished in [3] 
milliseconds
2024-11-02 19:07:07,394 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getPartyAccountingPreferences] finished in [7] 
milliseconds
2024-11-02 19:07:07,395 |jsse-nio-8443-exec-2 |ServiceDispatcher             
|T| Sync service [accounting/getInvoiceRunningTotal] finished in [47] 
milliseconds
2024-11-02 19:07:07,415 |jsse-nio-8443-exec-2 |ServerHitBin                  
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2024-11-02 19:07:07,421 |jsse-nio-8443-exec-2 |ControlServlet                
|T| [[[accounting::main (Domain:https://localhost)] Request Done- 
total:7.052,since last([accounting::main...):7.052]]

{noformat}


> Accounting main screen is little slow because of loading groovy script 4 
> times.
> -------------------------------------------------------------------------------
>
>                 Key: OFBIZ-13166
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13166
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>
> At https://lists.apache.org/thread/jlf21nd7znkl76v5t99xhyp2qz13j6tz 
> [~abuomar] reported this issue



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to