首页 文章

从Weblogic Admin Server生成打包模板动态失败

提问于
浏览
1

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

这是输出的日志:

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) .

谢谢 .

2 回答

  • 0

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

    $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
    
  • 0

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

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

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

相关问题