Use the delete-profiler subcommand in remote mode to delete the profiler element from the Java configuration. You can then create a new profiler.
Ensure that the server is running.
Remote subcommands require a running server.
Delete the profiler by using the delete-profiler(1) subcommand.
To apply your changes, restart GlassFish Server.
See To Restart a Domain.
This example deletes the profiler named sample_profiler.
asadmin> delete-profiler sample_profiler Command delete-profiler executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help delete-profiler at the command line.