Bug 924562
| Summary: | Deployment restart caused by dependency replacement does not work | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Stuart Douglas <sdouglas> |
| Component: | Server | Assignee: | Stuart Douglas <sdouglas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michal Karm Babacek <mbabacek> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bmaxwell, jsenshar, kkhan, mbabacek, smumford |
| Target Milestone: | DR0 | ||
| Target Release: | EAP 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
An issue that could result in a NullPointerException has been resolved in this release of JBoss EAP 6. The exception could present when a deployment partially restarted some data structures that were required have already been cleaned up to save memory (for example, when a dependency was replaced). This issue would prevent the redeployment from completing. To address this issue, partial redeployments are no longer allowed in this release of the product. If a dependency is replaced the deployment is now completely restarted and the exception no longer presents.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-28 15:44:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1282881 | ||
|
Description
Stuart Douglas
2013-03-22 04:37:36 UTC
Stuart Douglas <stuart.w.douglas> made a comment on jira AS7-6761 This is now resolved for non OSGi deployments. At the moment I can't see any way to achieve the desired OSGI behaviour without a redesign of how DUP's work. Brian Stansberry <brian.stansberry> made a comment on jira AS7-6761 I'm moving this out of "Pull Request Sent" status but not to "Resolved" because AIUI the fix did not fully resolve the reported issue. I'll leave it to you guys to sort out what the next step is. This is resolved for non-OSGi deployments. I think we should resolve this issue and create a new one for the OSGi problems, as the OSGi issue is not so much caused by dependency changes but rather by explicit start/stop operations on the bundle. In SessionTest/WEB-INF/jboss-deployment-structure.xml
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="deployment.clusterbench.war" />
</dependencies>
</deployment>
</jboss-deployment-structure>
Deployed "SessionTest.war"
Deployed "clusterbench.war"
touch standalone/deployments/clusterbench.war
Triggers in EAP 6.3:
Unregister web context: /clusterbench
Unregister web context: /SessionTest
+++
Deployment restart detected for deployment SessionTest.war, performing full redeploy instead.
+++
Register web context: /clusterbench
Register web context: /SessionTest
Triggers in EAP 6.2:
MSC000001: Failed to start service jboss.deployment.unit."SessionTest.war".FIRST_MODULE_USE:
VERIFIED
Reformatted docs text and marked for inclusion in 6.3.0 Release Notes. |