Bug 1021760 - Domain controller fails to restart due to an inconsistent rollback of a redeploy
Summary: Domain controller fails to restart due to an inconsistent rollback of a redeploy
Keywords:
Status: CLOSED DUPLICATE of bug 1021763
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Brian Stansberry
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-22 02:50 UTC by Osamu Nagano
Modified: 2018-12-03 20:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-25 02:01:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Osamu Nagano 2013-10-22 02:50:14 UTC
Description of problem:
When you try to redeploy (or deploy with --force option) the same application which has the same contents hash, and a necessary dependency like a datasource beeing injected in the application is lost by some reason, the redeploy operation will delete the contents under $JBOSS_HOME/domain/data/content directory but won't delete entries in domain.xml. Then the domain controller fails to start up because no contents found in the directory. This likely happens when you frequently changes settings during other servers shutting down.

The domain controller fails to restart with the following log messages.
--
12:04:10,623 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([("deployment" => "exampleapp.war")]) - failure description: "JBAS010876: No deployment content with hash c1306bc4855f4ed9914c9616f2b999c5c62a79d3 is available in the deployment content repository for deployment 'exampleapp.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."
12:04:10,628 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.
--

The domain controller should be independent from such a server specific issue and there should be a way to fix this via CLI or Console, not by a manual editing of domain.xml.


Additional info:
Reproducing steps will follow.  This happens on WildFly 8.0.0.Alpha4 too.  This may be an enhancement because a similar discussion found in: https://bugzilla.redhat.com/show_bug.cgi?id=901159

Comment 1 Brian Stansberry 2013-10-25 02:01:40 UTC

*** This bug has been marked as a duplicate of bug 1021763 ***


Note You need to log in before you can comment on or make changes to this bug.