Skip to content

Instantly share code, notes, and snippets.

@dstagner
Last active August 29, 2015 14:23
Show Gist options
  • Save dstagner/838ff6cc98b5f544f785 to your computer and use it in GitHub Desktop.
Save dstagner/838ff6cc98b5f544f785 to your computer and use it in GitHub Desktop.
Getting JNDI property and config values from Glassfish with asadmin

Just leaving this here since it's almost impossible to figure out from the documentation...

You can get the entire list of JNDI resources from a running Glassfish instance using this commmand:

asadmin get resources.*

You can also get configuration using a similar command:

asadmin get configs.*

Wildcards. Who knew?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment