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

Dan Sirbu do-not-reply at jboss.com
Thu Oct 13 12:25:46 EDT 2011


Dan Sirbu [http://community.jboss.org/people/lmcdasi] created the discussion

"Re: can I avoid a service to block as7 startup ?"

To view the discussion, visit: http://community.jboss.org/message/631621#631621

--------------------------------------------------------------
I don't think the problem is there. I do not call my own start method. 

The SubsytemState has a list of modules with their own "start methods that are executed from the ME start method.

It is the MSC that triggers ME.start(StartContext), correct ?

Then from ME.start(StartContext) and from the SubsysteState it retreives the M1,M2 list then:
     M1.start
     M2.start
     return;          so "normally" I should be able to do context.asyn anywhere in between.

SubsystemState can add a module from jboss-admin.sh, because it has an addModule. The addModule can do M3.start for example via the framework.

The problem is that this addModule interferes with the ME.start(StartContext) - when it should not. It seems that it does twice the start. And the problem is that when switching traces from boot.log to server.log I think I miss something - a TR is already there for the logging.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/631621#631621]

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/933d9aa2/attachment.html 


More information about the jboss-dev-forums mailing list