I'm adding some shutdown tests.
"alesj" wrote : "adrian(a)jboss.org" wrote :
| | Ales, can you check the child controller shutdown code is ok?
| It looked OK when I looked it before this post, but I'll check again. :-)
Nope, it doesn't work as it should. :-(
But the problem is not in the shutdown code, it's the uninstall by name of scoped
beans with the same name - since they eventually get pushed back to underlying Controller
on the Pre_Install state. And when another one with the same name is pushed, we get a
'name already exists', as expected.
So basically this uninstall of scoped beans didn't work as it should even before the
shutdown code. But before I didn't see it since we were uninstalling context from the
underlying Controller, drilling down to child Controllers. Shutdown does this just the
other way around.
This can all be solved with the GUID naming we talked about doing.
But I'll have a look what can be done with the current code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052553#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...