[ http://jira.jboss.com/jira/browse/JBAS-1464?page=history ]
Darran updated JBAS-1464:
-------------------------
Attachment: server-patch.txt
system-patch.txt
Attached are a couple of patches that contain the changes I made.
> MBean for ear not deregistered when deploy fails
> ------------------------------------------------
>
> Key: JBAS-1464
> URL: http://jira.jboss.com/jira/browse/JBAS-1464
> Project: JBoss Application Server
> Type: Patch
> Components: EJBs
> Versions: JBossAS-4.0.1 Final
> Environment: All environments.
> Reporter: Darran
> Attachments: server-patch.txt, system-patch.txt
>
>
> An issue has been raised (JBAS-1262) describing how redeployment of ears
> fails after the validation of a subcomponent of an ear has failed.
> Adrian,
> I have had a look at the forum post that you mentioned in the issue, one main
> problem that needs to be resolved is that the destroy method can't reverse
> the effects of the init method unless create has been called.
> I have been looking at one possible fix for the current problem until the
> deployers can be made more atomic.
> In the MainDeployer at present the create method creates the sub-deployments
> before creating the top deployment, the destroy method destroys the
> deployments in the same order.
> This problem is no longer present if the create method is changed to create
> the top deployment before the sub-deployments are created. If one of the
> sub-deployments fails in create the ear will have already been registered
> fully so destroy will succeed and allow a subsequent deployment of the same
> ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development