'Glassfish Full Stacktrace in webpages

For debugging purposes, I am searching a way to display the full stack trace in error 500 webpage.

For now, I've got this :

The stack I have

Server : Glassfish 5.1

Best regards

SK



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source