The ControllerMode approach sounds better. I expect starting a thread in create()
won't help much in many cases, as the main thread will quickly proceed to start and
then block.
Unfortunately, JBM opens 2 of the 3 underlying JChannels in AS 5, and it's deploying
as an mbean.
HAPartition is opening the 3rd channel and definitely can benefit from this.
The other services (JBC) are opening MuxChannels, which really just multiplex on the
underlying JChannel and thus don't block. But, we want to move to using the JGroups
shared transport, in which case each service will have its own JChannel; I need to think
through how to use the ControllerMode to improve the startup speed.
"adrian(a)jboss.org" wrote :
| The Deployments (which are also managed for dependency by the MC)
| also run in "manual" mode which might be a good thing
| since it would still ensure that classloaders are constructed in a predictable order
| on one thread.
Did you mean the "Deployers" here?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129518#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...