Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show all JNDI names in Wildlfy 9

Tags:

jndi

wildfly

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.

like image 525
TomS Avatar asked Dec 08 '22 01:12

TomS


2 Answers

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

like image 118
Tomaz Cerar Avatar answered Dec 28 '22 06:12

Tomaz Cerar


The graphical way also worked for me, navigating to admin console and going for:

Runtime -> Standalone server -> Subsystems -> JNDI View -> View

like image 21
Peter Butkovic Avatar answered Dec 28 '22 08:12

Peter Butkovic