【问题标题】:Generating packed template from Weblogic Admin Server Dynamically fails从 Weblogic Admin Server 动态生成打包模板失败
【发布时间】:2015-09-12 16:09:49
【问题描述】:

我有一个 weblogic 域(即 server1),它在管理服务器不驻留的远程计算机上管理多个托管服务器(即 server2)。我正在尝试在联机模式下使用 WLST 将管理服务器上的域动态打包到 JAR 中并将其传输到托管服务器,但由于 CIE Con​​figHelper 服务不可用而失败。我试图在没有午餐的情况下找到对这项服务的引用。

这是输出的日志:

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Connecting to t3://admin:7001 with userid admin ...
Successfully connected to Admin Server "wladmin_server" that belongs to domain "qa".

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

Location changed to serverRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help('domainConfig')

CIE ConfigHelper online service is not available.

Disconnected from weblogic server: wladmin_server

我正在根据以下链接 https://docs.oracle.com/middleware/1212/wls/WLSTG/domains.htm#WLSTG406 执行此操作,但它似乎不起作用。

我正在使用在 RH Linux 上运行的 Weblogic 12c (12.1.3)。

谢谢。

【问题讨论】:

    标签: weblogic weblogic12c


    【解决方案1】:

    pack 和 unpack 脚本在类似情况下为我们工作。 在已经创建域的管理服务器机器上,您可以使用它来打包/创建托管服务器模板:

       $WL_HOME/common/bin/pack.sh -domain=${DOMAIN_HOME} \
      -template=${DOMAIN_NAME}_managed_template.jar \
      -template_name="${DOMAIN_NAME}" \
      -template_author="YOU" \
      -template_desc="${DOMAIN_NAME}-managed-template" \
      -managed="true" \
      -log=logs/pack_managed_${DOMAIN_NAME}.log
    

    然后将托管服务器模板复制到不同的机器并在那里解压:

    $WL_HOME/common/bin/unpack.sh  \
    -domain=$DOMAIN_HOME \
    -template=${DOMAIN_NAME}_managed_template.jar \
    -overwrite_domain="true" \
    -app_dir=$DOMAIN_HOME/../applications \
    -log=logs/${DOMAIN_NAME}_creation.log 
    

    【讨论】:

    • pack/unpack 命令确实有效,但这意味着我必须在管理服务器上打包,然后将模板复制到托管服务器。现在,根据文档,应该有一种方法可以使用在线 WLST 即时完成打包,然后在托管服务器上使用它。
    【解决方案2】:

    我的 weblogic (ver 12.1.3) 也遇到了同样的问题。问题似乎只有在使用 wlst 启动 weblogic 服务器时才会出现。

    当我使用startWeblogic.sh文件启动weblogic并运行域模板wlst脚本时,错误(CIE Con​​figHelper在线服务不可用。)消失了,我可以看到模板创建成功。

    这似乎是 weblogic wlst 中的一个错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-03-22
      • 2011-01-09
      • 1970-01-01
      • 2014-10-07
      • 2013-10-12
      • 2018-10-04
      • 2019-07-10
      • 1970-01-01
      相关资源
      最近更新 更多