如何在 glassfish 中删除系统 属性

How to delete system property in glassfish

我使用此命令创建了一个系统 属性:

asadmin create-system-properties --target test-backend-inst-config warning.enable.for.Institution.value=false

我想删除这个系统属性 所以当我尝试使用这个命令时:

asadmin delete-system-properties warning.enable.for.Institution.value

在控制台上收到以下消息:

Command delete-system-properties not found. 
Check the entry of command name. This command may be provided by a package that is not installed.
Closest matching local and remote command(s): 
delete-system-property

似乎是在 glassfish 中的 asadmin 中不存在删除命令是否有任何其他方法可以在 glassfish 中删除此系统属性?

命令是delete-system-property,不是delete-system-properties

Use the delete-system-property subcommand in remote mode to delete system properties.

Ensure that the server is running. Remote subcommands require a running server.

List the existing system properties by using the list-system-properties(1) subcommand. Delete the system property by using the delete-system-property(1) subcommand. If necessary, notify users that the system property has been deleted.

Example 2-12 Deleting a System Property

This example deletes a system property named http-listener-port from localhost.

asadmin> delete-system-property http-listener-port Command
delete-system-property executed successfully.

https://docs.oracle.com/cd/E18930_01/html/821-2416/ghcjc.html#ggonc