2016-09-30 3 views
0

По некоторым причинам я не могу развернуть на моем 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 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 
[[email protected]: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"}} 

Помогите мне пожалуйста выяснить, что не так.

ответ

2

Это происходит, когда cli имеет ссылку на приложение, которое он больше не может найти.

Возможно, вы удалили каталог данных в автономной папке?

Чтобы устранить эту проблему, вы можете отредактировать файл standalone.xml (или любой другой версии вы используете) и найдите элемент развертываний и удалить элемент развертывания, не удается, и попытаться развернуть снова

Для пример

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

Да, вы правы. Аркильян не очистил его после теста, потому что я убил процесс –

Смежные вопросы