【问题标题】:Switch off wasx7303i message ("The following options are passed...") when using wsadmin in websphere AS在 websphere AS 中使用 wsadmin 时关闭 wasx7303i 消息(“通过了以下选项...”)
【发布时间】:2014-04-24 00:13:48
【问题描述】:

我们正在使用 wsadmin 脚本来配置 websphere 配置文件。我们在配置文件时配置数据源,并通过数据库密码来配置 DS。

问题在于打印消息 wasx7303i 的 wsadmin 工具:“传递了以下选项...”,以及传递的参数列表。其中一个参数是 DB pass。但出于安全原因,这并不好,那么有没有办法阻止 wsadmin 打印此消息?

【问题讨论】:

    标签: websphere websphere-8 wsadmin


    【解决方案1】:

    在您的 wsadmin.properties(配置文件目录)中找到这一行:

    com.ibm.ws.scripting.echoparams=true
    

    并将值更改为false

    wsadmin.properties 中提供了更多设置: http://pic.dhe.ibm.com/infocenter/wasinfo/v8r0/topic/com.ibm.websphere.nd.doc/info/ae/ae/rxml_propscript.html

    另一种可能性是使用com.ibm.ws.scripting.noechoParamNo 属性,如下所述:

    http://www-01.ibm.com/support/docview.wss?uid=swg1PK72753

    【讨论】:

    • 谢谢,这对我有帮助
    猜你喜欢
    • 2019-10-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-17
    • 1970-01-01
    • 2011-05-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多