【问题标题】:What is the WebSphere hierarchy of object types?什么是对象类型的 WebSphere 层次结构?
【发布时间】:2011-12-18 09:59:05
【问题描述】:

WebSphere 的 wsadmin 工具的文档非常糟糕。我正在自动化部署并不断遇到以下脚本异常:

WASX7129E: Cannot create objects of type "JAASAuthData" in parents of type "Node"

用大量不同类型的对象替换 JAASAuthDataNode。然后一遍又一遍地展示信息,你也许会理解我的沮丧。我一直在猜测在什么情况下可以创建什么。

类型的层次结构实际上是否记录在任何地方?

【问题讨论】:

    标签: websphere wsadmin


    【解决方案1】:

    任何类型的父母都可以使用命令AdminConfig.parents(type)进行自省。例如

    print AdminConfig.parents('GenericJMSConnectionFactory')
    > JMSProvider
    

    请注意,出于安全原因,尝试获取 JAASAuthData 的父级失败。 (但它是Security

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多