Use the delete-jndi-resource subcommand in remote mode to remove a JNDI resource.
Ensure that the server is running.
Remote subcommands require a running server.
Remove an external JNDI entry by using the delete-jndi-resource(1) subcommand.
This example deletes an external JNDI resource:
asadmin> delete-jndi-resource jndi_resource2 Command delete-jndi-resource executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help delete-jndi-resource at the command line.