What is the correct way to show registered JNDI names in Wildfly 9?
For older versions it was possible to use /subsystem=naming:jndi-view
, however it seems not working anymore. When running in domain mode.
Thanks for help.
Given that you are running in domain mode you need to tell server in which profile you are interested in jndi names.
running /subsystem=naming:jndi-view
executes command on domain controller itself not on some profile that actually has subsystems defined.
to get what you want you would need to execute jndi-view operation on actual server running inside your domain.
For example :
/host=master/server=server-one/subsystem=naming:jndi-view
would return you jndi-view of server server-one
on host master
The graphical way also worked for me, navigating to admin console and going for:
Runtime
-> Standalone server
-> Subsystems
-> JNDI View
-> View
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With