Jdbc Realm show a rare behaviour

Hi all!,
I am experiencing strange behavior and I think that is because there are some misconfiguration in payara realms configuration, but I can’t found my error.
My small application works ok in development mode, but when I upload to a production environment something rare happens, I connect with user and password, redirect to principal menu and when I try to enter some option of menu, again the application redirect to login form.
This behaviour doesn’t happen in my local server and that I don’t understand.
Here my web.xml configurarion:

            <web-resource-name>Area Protegida</web-resource-name>

I am using Payara Server 5.2022 (community), Java 1.8
Database Users and Group are correct!
I appreciate any help!
thanks in advance!