How can I log the Glassfish domain?
-
12-11-2019 - |
Question
I do a bit of logging in a ServletFilter to log which web services are being called, response times, etc, and I would ideallly like to log the domain name of the running Glassfish server. But so far I have not been able to come up with any way of programmatically access this info.
Do any of you know of a way to access this info from the currently running web application?
org.glassfish.admin.amx.base.DomainRoot seems to have some methods that might give some info, but I have no idea on what classes implement these interfaces.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow