您的位置:首页 > 大数据 > 人工智能

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

2015-05-19 13:33 615 查看
一个同事安装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内容删除(下图粗体内容):

<server-groups>
<server-group name="main-server-group" profile="full-ha">
<jvm name="default">
<heap size="1303m" max-size="1303m"/>
<permgen max-size="256m"/>
</jvm>
<socket-binding-group ref="full-ha-sockets"/>
<deployments>
<deployment name="ezsela-message.war" runtime-name="ezsela-message.war"/>
<deployment name="ezsela-message1.war" runtime-name="ezsela-message1.war"/>
</deployments>
</server-group>
<server-group name="other-server-group" profile="full-ha">
<jvm name="default">
<heap size="1303m" max-size="1303m"/>
<permgen max-size="256m"/>
</jvm>
<socket-binding-group ref="full-ha-sockets"/>
</server-group>
</server-groups>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  jboss JBAS014613
相关文章推荐