JBAS014613: Operation ("add") failed启动报错

一个同事安装jboss集群,启动不了,报错,因为是初次安装,不可能存在应用war程序。经过排查,是因为他们使用了我做的配置文件样例。样例中含有一个留言板测试程序的配配置。

[root@U2R10NWTBAPP01 bin]# sh domain.sh
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /nwtb/jboss-eap-6.1

  JAVA: java

  JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

=========================================================================

09:03:08,936 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.Final-redhat-1
09:03:09,184 INFO  [org.jboss.as.process.Host Controller.status] (main) JBAS012017: Starting process 'Host Controller'
[Host Controller] 09:03:10,031 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.Final-redhat-1
[Host Controller] 09:03:10,266 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1
[Host Controller] 09:03:10,377 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting
[Host Controller] 09:03:11,177 INFO  [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.7.GA-redhat-1
[Host Controller] 09:03:11,184 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.0.7.GA-redhat-1
[Host Controller] 09:03:11,207 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 3.2.16.GA-redhat-1
[Host Controller] 09:03:11,203 INFO  [org.jboss.as] (Controller Boot Thread) JBAS010902: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 09:03:11,334 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on 2.188.146.170:9999
[Host Controller] 09:03:13,042 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([("deployment" => "ezsela-message.war")]) - failure description: "JBAS010876: No deployment content with hash 5f870cae18c7f6f29b8964e18895199c3754de09 is available in the deployment content repository for deployment 'ez-message.war'. This is a fatal boot error. To correct the problem, either restart with the --admin-only switch set and use the CLI to install the missing content or remove it from the configuration, or remove the deployment from the xml configuraiton file and restart."
[Host Controller] 09:03:13,049 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010933: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
[Host Controller] 09:03:13,099 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015950: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) stopped in 29ms
09:03:13,427 INFO  [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) JBAS012010: Process 'Host Controller' finished with an exit status of 99
09:03:13,431 INFO  [org.jboss.as.process] (Thread-8) JBAS012016: Shutting down process controller
09:03:13,432 INFO  [org.jboss.as.process] (Thread-8) JBAS012015: All processes finished; exiting

解决方法,修改domain.xml配置文件,把deploy内容删除(下图粗体内容):



   
       
           
               
               
           
           
           
               
               
           
       
       
           
               
               
           
           
       
   



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15711267/viewspace-777165/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/15711267/viewspace-777165/

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值