[MGNLUI-6899] Jetty libraries on the classpath make the admincentral unresponsive Created: 06/Oct/21  Updated: 18/Oct/22  Resolved: 27/Oct/21

Status: Closed
Project: Magnolia UI
Component/s: admincentral
Affects Version/s: 6.2.12
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Ervin Vystup Assignee: Roman Kovařík
Resolution: Not an issue Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: Linux Mint
Browser: Brave Version 1.26.74 Chromium: 91.0.4472.124 (Official Build) (64-bit)


Attachments: File helpMakeMagnoliaBetter.webm    
Issue Links:
Problem/Incident
is caused by MGNLUI-6443 Use push instead of polling to update... Closed
documentation
to be documented by MGNLUI-6938 DOC: Jetty libraries make Admincentra... Closed
relation
supersession
supersedes MGNLUI-6736 Frozen admincentral after restart (af... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Documentation update required:
Yes
Date of First Response:
Epic Link: Vaadin push issues

 Description   

Reproduce

  1.  try to access an instance for the first time
  2.  in the "Help make Magnolia better" pop-up window click "Ok"

Expected
The progress/loading bar goes till the end and the pop-up window disappears then.

Actual
The progress/loading bar doesn't go till the end and the pop-up window is still displayed. It disappears only after reloading the page.
helpMakeMagnoliaBetter.webm

Workaround
Reloading the page

Notes
MGNLUI-6938 See Embedded application server libraries may cause admincentral to freeze.



 Comments   
Comment by Roman Kovařík [ 06/Oct/21 ]

Giving the webapp in the support request (it has probably just a "lucky" number of search results/suppliers), start write into the findbar * UI freezes (looks like responses reach browser in a wrong order?)

  • the same webapp with older vaadin (8.9.4) suffers from similar symptoms (the only difference is that it refreshes itself after a while)
  • replacing push with polling for find bar search workarounds the issue
  • for the record, the findbar search is triggered every time an app is switched, which makes this issue severe
Comment by Federico Grilli [ 03/Nov/21 ]

akhamis/docu team I guess it's worth adding this to the known issues 

... they bundle a whole bunch of jetty libraries which then drive the atmosphere framework (push provider) to pick jetty driver instead of tomcat's one (Java's SPI patterns in all their glory)
after I removed the jetty libs, the push related problems are gone

Comment by Roman Kovařík [ 04/Nov/21 ]

Symptom::


Admicentral is becoming unresponsive, loading bar waits for push connections. Reloading browser tab resets the state but the issue repeats.

 

Example of libraries::


jetty-6.1.26.jar
jetty-client-6.1.26.jar
jetty-util-6.1.26.jar
jetty-util5-6.1.26.jar

Generated at Mon Feb 12 09:41:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.