Ales Justin [
http://community.jboss.org/people/alesj] replied to the discussion
"controller.uninstall() fails when overriding the KernelControllerContext name"
To view the discussion, visit:
http://community.jboss.org/message/539406#539406
--------------------------------------------------------------
Well the thing is that i'm not changing the name during the
lifecycle - it's the kernel InstallAction, which does that. I just override the
original context name before i call install(), since BMD only allows Strings as a name.
OK, I see a bit of inconsistency there -- since we only allow BMD for
KernelContextController,
we should make sure setName throws some exception or lists a warning that setName is
ignored.
In your case, you should put in a canonical name into BMD.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/539406#539406]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]