[jboss-dev-forums] [Design the new POJO MicroContainer] - InstallAction not unwinding properly when there is an error
adrian@jboss.org
do-not-reply at jboss.com
Thu Jan 24 19:19:21 EST 2008
I found out while doing the classloader changes that the install action
was not unwinding properly if one of the
<install/> operations failed.
This left the bean in the **ERROR** state but it was still installed in the registry.
This was easy to fix. What is not so easy to fix is determining what
uninstall operations need to be run to reverse what is already done.
The install/uninstall aren't necessarily symmetic.
For now, I've done a belt and braces job. I run all the unintalls and ignore any errors.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123273#4123273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123273
More information about the jboss-dev-forums
mailing list