eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
377 stars 143 forks source link

"Cannot find specified Config Resource" error in Admin Console #25065

Open tnagao7 opened 1 month ago

tnagao7 commented 1 month ago

Environment Details


Problem Description

In the Administration Console, the following error is displayed after opening the "Clusters" page:

Cannot find specified Config Resource. Config may have been deleted.

This error sometimes occurs if the "Clusters" page is accessed multiple times.

gui-config-resource-error

Steps to reproduce

In the Administration Console, open the "Clusters" page multiple times.

Impact of issue

Though we can continue operations in the Administration Console, the error message is annoying.

OndroMih commented 1 month ago

Does this only happen in GlassFish 8.0.0-M6 or also in GlassFish 7?

tnagao7 commented 1 month ago

This only happens in GlassFish 8.0.0-M6. This does not happen in GlassFish 7 (7.0.16).

Similar to #25064, if the META-INF/resources/jakarta.faces/faces.js file in glassfish/modules/jakarta.faces.jar in GlassFish 8.0.0-M6 is replaced with an older version (e.g. faces.js contained in GlassFish 7.0.16), this does not happen.

arjantijms commented 1 month ago

I do see these errors in the browser console:

console
dmatej commented 1 month ago

Hmmm, I have to check, but wasn't this code I was fixing in Payara years ago? Number of parameters changed or something like that ... and it was possible to just define that function locally.

tnagao7 commented 3 days ago

A fix for this bug is proposed in https://github.com/eclipse-ee4j/mojarra/issues/5499