Skip to content

warning JSF1064 is logged when page refresh is forced #5527

@EugenFischer

Description

@EugenFischer

If an impatient user frequently reloads the page, the error is logged more frequently

The guard that is supposed to prevent this is inadequate.
ResourceHandlerImpl isConnectionAbort.
In my case the system language is set to german so the check doesn't work.

To Reproduce

Steps to reproduce the behavior:
configure system language to any other than english

  1. open any JSF page where several web resorces get loaded
  2. execute F5 or Strg + F5 several times
  3. warining occurs
    WARNING [jakarta.enterprise.resource.webcontainer.faces.application] (default task-14) JSF1064: Ressource theme.css aus Bibliothek primefaces kann nicht gefunden oder bedient werden. WARNING [jakarta.enterprise.resource.webcontainer.faces.application] (default task-14) : java.io.IOException: Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen

Expected behavior
no warning get logged

resourceHandlerImpl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions