[jboss-dev-forums] [JBoss AS7 Development] - Re: can I avoid a service to block as7 startup ?

Jason Greene do-not-reply at jboss.com
Thu Oct 13 11:57:04 EDT 2011


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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111013/664f4060/attachment.html 


More information about the jboss-dev-forums mailing list