payara/Payara#75

Fix for https://java.net/jira/browse/GLASSFISH-20842: Forward-port of commit: e54698c (the glassfish config part)
Requires: https://java.net/jira/browse/GRIZZLY-1720 (related pull request: https://github.com/GrizzlyNIO/grizzly-mirror/pull/4)