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/633372#633372
--------------------------------------------------------------
To solve my sync problem what I did is that in the readElement I build add to the state
the info that I need. Then when the runtime operation occurs just after the bootime the
Add operation is silently discarded since the element has been already built when doing
readElement. In this way the ME will get the right definition and no concurrent changes
occurs. Then if one uses jboss-admin.sh to change the state it still can since an Add
operation is defined at runtime.
Though: that does not make understand well (or at all) how the Add operation from the
OperationStepHandler is synchronized when the AS boots adn changes state from bootime to
runtime. I have look at how other people do and I do not see how they synchronize that
state change when they build a ME state.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/633372#633372]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]