I mistakenly added a custom JNDI resource in Glassfish through the administration console with a space in the name. It was ‘application_configuration /download-token’. The space caused an error when the JNDI>Custom Resource page loaded:
REST Request ‘http://localhost:4848/management/domain/servers/server/server/resource-ref/application_configuration+%2Fdownload-token’ failed with response code ‘404’.
Thereby failing to show any entries or allow for correction. As far as I can tell the only way to correct the entry is to remove it via asadmin:
delete-custom-resource ‘application_configuration /download-token’