JBoss Community

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

created by Dan Sirbu in JBoss AS7 Development - View the full discussion

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

Start a new discussion in JBoss AS7 Development at Community