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>
[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>
相关文章推荐
- Apache "No services installed"问题的处理以及Apache提示 the requested operation has failed而无法启动
- Apache "No services installed"问题的处理以及Apache提示 the requested operation has failed而无法启动
- JBAS014612: Operation ("add") failed - address:
- 使用PHPMailer 中的报错解决 "Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:"
- MonkeyKing canOpenURL: failed for URL: "weixin://" - error: "The operation couldn’t be completed. (O
- ebs R12.2启动报错"failed to start a managed process after the maximum retry limit"
- Apache无法启动解决 the requested operation has failed
- Apache无法启动解决 the requested operation has failed
- Myeclipse 每次启动报错 "Failed to load JavaHL Library."
- Ubuntu下启动 Redis时, 提示 "Can't open the log file: Permission denied failed"
- nginx 启动报错 “/var/run/nginx/nginx.pid" failed” 解决方法
- Apache启动报错:the requested operation has failed
- vsftp关于"550 create directory operation failed"问题解决
- [Apache]apache启动报错:the requested operation has failed解决办法
- apache启动报错:the requested operation has failed解决办法
- Apache无法启动解决 the requested operation has failed
- Apache无法启动报 the requested operationhas failed 错误
- google-chrome 启动报错 nss_util.cc(627)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required
- 报错:Apache提示 the requested operation has failed无法启动问题
- Apache无法启动解决 the requested operation has failed