neutrino36
(neutrino neutrino)
August 27, 2019, 9:08am
#1
Hi,
I don;t know why the initial screen opens very hard. Is it normal?
11:05:34.311 INFO c.h.c.c.sys.AbstractViewRepository - Initializing views
11:05:37.655 INFO c.h.c.c.sys.AbstractViewRepository - Initializing views
11:05:37.968 INFO c.h.cuba.core.app.PersistenceManager - Loading statistics cache
11:05:47.440 WARN c.h.c.web.sys.CubaApplicationServlet - Too long request processing [14309 ms]: ip=
tsarev
(Daniil Tsaryov)
August 29, 2019, 8:15am
#2
Hello @neutrino
It’s not normal. But I cannot suggest any solution due to absence of details or project sample.
Regards,
Daniil
neutrino36
(neutrino neutrino)
August 29, 2019, 8:55am
#3
Maybe you can give me a hint. Where should I’m looking for?
neutrino36
(neutrino neutrino)
August 30, 2019, 6:23am
#4
The problem appear only for firs opening. After that works normal.
neutrino36
(neutrino neutrino)
September 3, 2019, 7:21am
#5
Details filetoolong.txt (58.5 KB) uploaded.
tsarev
(Daniil Tsaryov)
September 3, 2019, 8:47am
#6
As I can see the main screen contains a lot of components and fetches data from DB - this can cause long opening.
As an option you can postpone loading data after screen is shown.
neutrino36
(neutrino neutrino)
September 3, 2019, 8:58am
#7
Thank you, Daniil.
Yes, your approach can be an workaround, but this is my client request: when the application is opened the Transaction.browse screen should be opened as well.
Is there any mechanism to postpone loading data after the screen is shown? Can you give more details?
tsarev
(Daniil Tsaryov)
September 3, 2019, 11:43am
#8
As an option you can replace usage of LoadDataBeforeShow annotation by manual data load triggering
neutrino36
(neutrino neutrino)
September 3, 2019, 12:40pm
#9
Unfortunately my application is made in Cuba 6 (imported in Cuba 7).