我使用以下命令创建了一个系统属性:
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中的这个系统属性吗?
发布于 2016-11-18 14:32:29
命令是delete-system-property,而不是delete-system-properties
使用远程模式下的
delete-system-property子命令删除系统属性。 确保服务器正在运行。远程子命令需要正在运行的服务器。 使用list-system-properties(1)子命令列出现有的系统属性。使用delete-system-property(1)子命令删除系统属性。必要时,通知用户系统属性已被删除。 示例2-12删除系统属性 此示例从localhost删除名为http-listener-port的系统属性。 asadmin>删除-系统-属性http-侦听器-端口命令删除-系统-属性成功执行.
https://stackoverflow.com/questions/40678876
复制相似问题