JBAS014613: Operation ("add") failed啟動報錯

fudaliang1999發表於2013-11-21
一個同事安裝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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章