zoukankan      html  css  js  c++  java
  • Weblogic domain扩展教程

    weblogic扩展domain有两种扩展,一是机器上已有要扩展的domain只是在其内增加受管服务器,二是机器上没有domain要新建domain然后增加受管服务器

    一、机器上已有要扩展的domain增加受管服务器

    这种情况和最开始没有受管服务器时,创建受管服务器一样操作就可以了。同一cluster应用会自动部署上去不需要再单独在其上部署应用。

    第一步:登录控制台,添加好受管服务器

    第二步:登录主机,到domain里配置好各受管服务器的boot.properties文件

    第三步:启动各添加的受管服务器

    二、机器上没有要扩展的domain,需要新建该domain然后增加受管服务器

    第一步:登录控制台,添加好受管服务器

    第二步:登录主机,和正常一样创建domain。domain名称、使用模式、控制台名称、控制台监听地址、控制台监听端口等等配置一定要和要加入的domain要一致

    第三步:到控制台所在机器的domain中,拷贝$DOMAIN_HOME/security/SerializedSystemIni.dat文件替换新增domain中的对应文件

    第四步:(如果有需要)修改jvm参数与原有机器的domain相一致,配置好和受管服务器的boot.properties文件

    第五步:启动各添加的受管服务器

    第二种情况与第一种情况的不同就是新增了创建domain和替换SerializedSystemIni.dat文件两步

    创建domain容易理解,替换SerializedSystemIni.dat文件是因为如果不替换新增的受管服务器会报以下错误无法启动:

    java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,517,380,649,343". Underlying error is: "null"

    完整报错内容:

    <Jan 31, 2018 2:37:28 PM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.45-b01 from Sun Microsystems Inc.> 
    java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,517,380,649,343". Underlying error is: "null"
            at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:86)
            at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:165)
            at weblogic.deploy.internal.targetserver.datamanagement.ConfigDataUpdate.doDownload(ConfigDataUpdate.java:75)
            at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
            at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.downloadFiles(RuntimeAccessDeploymentReceiverService.java:920)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.updateFiles(RuntimeAccessDeploymentReceiverService.java:879)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.handleRegistrationResponse(RuntimeAccessDeploymentReceiverService.java:728)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.registerHandler(RuntimeAccessDeploymentReceiverService.java:699)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.start(RuntimeAccessDeploymentReceiverService.java:169)
            at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:462)
            at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:167)
            at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
            at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
            at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:471)
            at weblogic.Server.main(Server.java:71)
    <Jan 31, 2018 2:37:29 PM CST> <Error> <Management> <BEA-141196> <The managed server could not update the configuration files during the registration with the deployment service. The update failed due to an exception:
    weblogic.management.DeploymentException: Exception occured while downloading files
            at weblogic.deploy.internal.targetserver.datamanagement.ConfigDataUpdate.doDownload(ConfigDataUpdate.java:83)
            at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
            at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.downloadFiles(RuntimeAccessDeploymentReceiverService.java:920)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.updateFiles(RuntimeAccessDeploymentReceiverService.java:879)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.handleRegistrationResponse(RuntimeAccessDeploymentReceiverService.java:728)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.registerHandler(RuntimeAccessDeploymentReceiverService.java:699)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.start(RuntimeAccessDeploymentReceiverService.java:169)
            at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:462)
            at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:167)
            at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
            at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
            at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:471)
            at weblogic.Server.main(Server.java:71)
    Caused By: java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,517,380,649,343". Underlying error is: "null"
            at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:86)
            at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:165)
            at weblogic.deploy.internal.targetserver.datamanagement.ConfigDataUpdate.doDownload(ConfigDataUpdate.java:75)
            at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
            at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.downloadFiles(RuntimeAccessDeploymentReceiverService.java:920)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.updateFiles(RuntimeAccessDeploymentReceiverService.java:879)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.handleRegistrationResponse(RuntimeAccessDeploymentReceiverService.java:728)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.registerHandler(RuntimeAccessDeploymentReceiverService.java:699)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.start(RuntimeAccessDeploymentReceiverService.java:169)
            at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:462)
            at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:167)
            at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
            at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
            at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:471)
            at weblogic.Server.main(Server.java:71)
    > 
    <Jan 31, 2018 2:37:29 PM CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: 
    
    There are 1 nested errors:
    
    weblogic.management.DeploymentException: Exception occured while downloading files
            at weblogic.deploy.internal.targetserver.datamanagement.ConfigDataUpdate.doDownload(ConfigDataUpdate.java:83)
            at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
            at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.downloadFiles(RuntimeAccessDeploymentReceiverService.java:920)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.updateFiles(RuntimeAccessDeploymentReceiverService.java:879)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.handleRegistrationResponse(RuntimeAccessDeploymentReceiverService.java:728)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.registerHandler(RuntimeAccessDeploymentReceiverService.java:699)
            at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.start(RuntimeAccessDeploymentReceiverService.java:169)
            at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:462)
            at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:167)
            at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
            at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
            at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:471)
            at weblogic.Server.main(Server.java:71)
    Caused by: java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,517,380,649,343". Underlying error is: "null"
            at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:86)
            at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:165)
            at weblogic.deploy.internal.targetserver.datamanagement.ConfigDataUpdate.doDownload(ConfigDataUpdate.java:75)
            ... 13 more
    
    > 
    <Jan 31, 2018 2:37:29 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> 
    <Jan 31, 2018 2:37:29 PM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> 
    View Code

    参考:

    http://tieba.baidu.com/p/4504752284

  • 相关阅读:
    Oozie简介
    ASP.NET Redis 开发
    迁移到 Express 4.x
    vim文本编辑器
    【Shell常用命令二】管道符 通配符
    【Shell常用命令一】echo bash alias history 输出重定向 快捷键
    【linux学习笔记八】常用命令
    【linux学习笔记七】关机重启命令
    【linux学习笔记六】压缩 解压缩命令
    【linux学习笔记五】帮助命令
  • 原文地址:https://www.cnblogs.com/lsdb/p/8393531.html
Copyright © 2011-2022 走看看