Is it possible to get the name of the current domain in glassfish v2?
I've got a code like this:
that sends us an email when the application server is about to crash (PermGen location exception); But we have 3 apps running, so the domain name will really be useful ... any ideas?
Thanks
You can use to get the domain name. It is available from .getAppserverDomainName ().
Comments
Post a Comment