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/631605#631605
--------------------------------------------------------------
Dan Sirbu wrote:
I am getting a java.lang.IllegalStateException: Illegal controller state when the async
call is executed. Let's say I have 2 modules (M1,M2) that I start from the same ME. M1
does not have any blocking op, but M2 does. The M1 module completes it's start ok.
But the M2 fails when calling async. The question is, can I do something like that ?
Only the service itself can call asynchronous in it's start or stop method. As
mentioned above, it must be called before the service method returns.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/631605#631605]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]