JBoss:致命的启动错误

JBoss:致命的启动错误,jboss,Jboss,由于某些原因,我无法再在jboss服务器上部署,我遇到异常: 17:53:41,244 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([("deployment" => "my.ear")]) - failure description: "JBAS018717: No deploym

由于某些原因,我无法再在jboss服务器上部署,我遇到异常:

17:53:41,244 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([("deployment" => "my.ear")]) - failure description: "JBAS018717: No deployment content with hash eee1ea03abae2b5f61718c00189c0ec40bf914a0 is available in the deployment content repository for deployment 'my.ear'. 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 configuration file and restart."
17:53:41,250 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
我无法从
cli
取消部署它:

$JBOSS_HOME/bin/jboss-cli.sh --connect controller=localhost:my_port
[standalone@localhost:my_port /] undeploy my.ear
Undeploy failed: {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014807: Management resource '[(\"deployment\" => \"my.ear\")]' not found"}}

请帮我找出哪里出了问题

当cli对无法再找到的应用程序具有引用时,会发生这种情况

也许您删除了独立文件夹中的数据目录

要解决此问题,您可以编辑standalone.xml文件(或正在使用的任何版本)并查找deployments元素,删除失败的deployment元素,然后再次尝试部署

比如说

<deployments>
    <deployment name="my.ear" runtime-name="my.ear">
        <content sha1="xxxxxxx"/>
    </deployment>
</deployments>

当cli对无法再找到的应用程序具有引用时,会发生这种情况

也许您删除了独立文件夹中的数据目录

要解决此问题,您可以编辑standalone.xml文件(或正在使用的任何版本)并查找deployments元素,删除失败的deployment元素,然后再次尝试部署

比如说

<deployments>
    <deployment name="my.ear" runtime-name="my.ear">
        <content sha1="xxxxxxx"/>
    </deployment>
</deployments>


是的,你说得对。阿奎利安在测试后没有清除,因为我杀了他是的,你是对的。阿奎利安在测试后并没有清除它,因为我杀死了进程