Jason Greene [
http://community.jboss.org/people/jason.greene] created the discussion
"Re: can I avoid a service to block as7 startup ?"
To view the discussion, visit:
http://community.jboss.org/message/631175#631175
--------------------------------------------------------------
Since MSC is a concurrent state machine it's thread pool is a critical resource that
is intended to run only non-blocking (busy) tasks. Since there can be thousands of
services, and MSC does not know the usage pattern of each service, it's not possible
to have a single large generic thread pool for everything. For this reason services that
need to execute blocking tasks must use async startup and pass those tasks to another
thread pool.
See the Service javadoc for more info:
http://docs.jboss.org/jbossmsc/1.0.0.GA/api/org/jboss/msc/service/Service...
http://docs.jboss.org/jbossmsc/1.0.0.GA/api/org/jboss/msc/service/Service...
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/631175#631175]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]