[jboss-dev-forums] [JBoss AS7 Development] - JBoss AS7 vs AS6
Ales Justin
do-not-reply at jboss.com
Thu Jul 21 04:12:27 EDT 2011
Ales Justin [http://community.jboss.org/people/alesj] commented on the document
"JBoss AS7 vs AS6"
To view all comments on this document, visit: http://community.jboss.org/docs/DOC-16778#comment-7100
--------------------------------------------------
> It wouldn't be able to invoke ops from its start() method -- it would have to use a separate thread and not block start() waiting for that thread to complete its task.
>
> If a service (i.e. this MC bean) that is installed as part of executing a management op (i.e. deploying an MC deployment) tries to invoke an management op during its start() method, it will deadlock the management layer. So it's forbidden. See https://issues.jboss.org/browse/AS7-876 https://issues.jboss.org/browse/AS7-876 for what happens when it's attempted.
>
It would probably be good if this was somehow transparent for the user.
e.g. using proper "client/user" Mgmt API would hide the new-thread usage
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110721/99218a65/attachment.html
More information about the jboss-dev-forums
mailing list